diff --git a/packages/status-core/README.md b/packages/status-core/README.md deleted file mode 100644 index 693b3bc1..00000000 --- a/packages/status-core/README.md +++ /dev/null @@ -1 +0,0 @@ -# `status-core` diff --git a/packages/status-core/.mocharc.json b/packages/status-js/.mocharc.json similarity index 100% rename from packages/status-core/.mocharc.json rename to packages/status-js/.mocharc.json diff --git a/packages/status-js/README.md b/packages/status-js/README.md new file mode 100644 index 00000000..174c751b --- /dev/null +++ b/packages/status-js/README.md @@ -0,0 +1 @@ +# `status-js` diff --git a/packages/status-core/buf.gen.yaml b/packages/status-js/buf.gen.yaml similarity index 100% rename from packages/status-core/buf.gen.yaml rename to packages/status-js/buf.gen.yaml diff --git a/packages/status-core/buf.yaml b/packages/status-js/buf.yaml similarity index 100% rename from packages/status-core/buf.yaml rename to packages/status-js/buf.yaml diff --git a/packages/status-core/package.json b/packages/status-js/package.json similarity index 97% rename from packages/status-core/package.json rename to packages/status-js/package.json index b86decdf..1c4dfe73 100644 --- a/packages/status-core/package.json +++ b/packages/status-js/package.json @@ -4,7 +4,7 @@ "license": "MIT OR Apache-2.0", "repository": { "url": "https://github.com/status-im/status-web.git", - "directory": "packages/status-core", + "directory": "packages/status-js", "type": "git" }, "bugs": { diff --git a/packages/status-core/proto/communities/v1/chat_identity.proto b/packages/status-js/proto/communities/v1/chat_identity.proto similarity index 100% rename from packages/status-core/proto/communities/v1/chat_identity.proto rename to packages/status-js/proto/communities/v1/chat_identity.proto diff --git a/packages/status-core/proto/communities/v1/chat_message.proto b/packages/status-js/proto/communities/v1/chat_message.proto similarity index 100% rename from packages/status-core/proto/communities/v1/chat_message.proto rename to packages/status-js/proto/communities/v1/chat_message.proto diff --git a/packages/status-core/proto/communities/v1/communities.proto b/packages/status-js/proto/communities/v1/communities.proto similarity index 100% rename from packages/status-core/proto/communities/v1/communities.proto rename to packages/status-js/proto/communities/v1/communities.proto diff --git a/packages/status-core/proto/communities/v1/emoji_reaction.proto b/packages/status-js/proto/communities/v1/emoji_reaction.proto similarity index 100% rename from packages/status-core/proto/communities/v1/emoji_reaction.proto rename to packages/status-js/proto/communities/v1/emoji_reaction.proto diff --git a/packages/status-core/proto/communities/v1/enums.proto b/packages/status-js/proto/communities/v1/enums.proto similarity index 100% rename from packages/status-core/proto/communities/v1/enums.proto rename to packages/status-js/proto/communities/v1/enums.proto diff --git a/packages/status-core/proto/communities/v1/membership_update_message.proto b/packages/status-js/proto/communities/v1/membership_update_message.proto similarity index 100% rename from packages/status-core/proto/communities/v1/membership_update_message.proto rename to packages/status-js/proto/communities/v1/membership_update_message.proto diff --git a/packages/status-core/proto/communities/v1/status_update.proto b/packages/status-js/proto/communities/v1/status_update.proto similarity index 100% rename from packages/status-core/proto/communities/v1/status_update.proto rename to packages/status-js/proto/communities/v1/status_update.proto diff --git a/packages/status-core/proto/status/v1/application_metadata_message.proto b/packages/status-js/proto/status/v1/application_metadata_message.proto similarity index 100% rename from packages/status-core/proto/status/v1/application_metadata_message.proto rename to packages/status-js/proto/status/v1/application_metadata_message.proto diff --git a/packages/status-core/src/chat.ts b/packages/status-js/src/chat.ts similarity index 100% rename from packages/status-core/src/chat.ts rename to packages/status-js/src/chat.ts diff --git a/packages/status-core/src/community.spec.ts b/packages/status-js/src/community.spec.ts similarity index 100% rename from packages/status-core/src/community.spec.ts rename to packages/status-js/src/community.spec.ts diff --git a/packages/status-core/src/community.ts b/packages/status-js/src/community.ts similarity index 100% rename from packages/status-core/src/community.ts rename to packages/status-js/src/community.ts diff --git a/packages/status-core/src/contacts.ts b/packages/status-js/src/contacts.ts similarity index 100% rename from packages/status-core/src/contacts.ts rename to packages/status-js/src/contacts.ts diff --git a/packages/status-core/src/contentTopic.ts b/packages/status-js/src/contentTopic.ts similarity index 100% rename from packages/status-core/src/contentTopic.ts rename to packages/status-js/src/contentTopic.ts diff --git a/packages/status-core/src/encryption.spec.ts b/packages/status-js/src/encryption.spec.ts similarity index 100% rename from packages/status-core/src/encryption.spec.ts rename to packages/status-js/src/encryption.spec.ts diff --git a/packages/status-core/src/encryption.ts b/packages/status-js/src/encryption.ts similarity index 100% rename from packages/status-core/src/encryption.ts rename to packages/status-js/src/encryption.ts diff --git a/packages/status-core/src/groupChats.ts b/packages/status-js/src/groupChats.ts similarity index 100% rename from packages/status-core/src/groupChats.ts rename to packages/status-js/src/groupChats.ts diff --git a/packages/status-core/src/identity.ts b/packages/status-js/src/identity.ts similarity index 100% rename from packages/status-core/src/identity.ts rename to packages/status-js/src/identity.ts diff --git a/packages/status-core/src/index.ts b/packages/status-js/src/index.ts similarity index 100% rename from packages/status-core/src/index.ts rename to packages/status-js/src/index.ts diff --git a/packages/status-core/src/messenger.spec.ts b/packages/status-js/src/messenger.spec.ts similarity index 100% rename from packages/status-core/src/messenger.spec.ts rename to packages/status-js/src/messenger.spec.ts diff --git a/packages/status-core/src/messenger.ts b/packages/status-js/src/messenger.ts similarity index 100% rename from packages/status-core/src/messenger.ts rename to packages/status-js/src/messenger.ts diff --git a/packages/status-core/src/proto/communities/v1/chat_identity.ts b/packages/status-js/src/proto/communities/v1/chat_identity.ts similarity index 99% rename from packages/status-core/src/proto/communities/v1/chat_identity.ts rename to packages/status-js/src/proto/communities/v1/chat_identity.ts index 89e35d07..b30525e8 100644 --- a/packages/status-core/src/proto/communities/v1/chat_identity.ts +++ b/packages/status-js/src/proto/communities/v1/chat_identity.ts @@ -5,7 +5,7 @@ import { ImageType, imageTypeFromJSON, imageTypeToJSON, -} from '../../communities/v1/enums' +} from './enums' export const protobufPackage = 'communities.v1' diff --git a/packages/status-core/src/proto/communities/v1/chat_message.ts b/packages/status-js/src/proto/communities/v1/chat_message.ts similarity index 99% rename from packages/status-core/src/proto/communities/v1/chat_message.ts rename to packages/status-js/src/proto/communities/v1/chat_message.ts index bef0d103..5015180a 100644 --- a/packages/status-core/src/proto/communities/v1/chat_message.ts +++ b/packages/status-js/src/proto/communities/v1/chat_message.ts @@ -8,7 +8,7 @@ import { imageTypeToJSON, messageTypeFromJSON, messageTypeToJSON, -} from '../../communities/v1/enums' +} from './enums' export const protobufPackage = 'communities.v1' diff --git a/packages/status-core/src/proto/communities/v1/communities.ts b/packages/status-js/src/proto/communities/v1/communities.ts similarity index 99% rename from packages/status-core/src/proto/communities/v1/communities.ts rename to packages/status-js/src/proto/communities/v1/communities.ts index f96d34fb..bcb8f5eb 100644 --- a/packages/status-core/src/proto/communities/v1/communities.ts +++ b/packages/status-js/src/proto/communities/v1/communities.ts @@ -1,7 +1,7 @@ /* eslint-disable */ import Long from 'long' import _m0 from 'protobufjs/minimal' -import { ChatIdentity } from '../../communities/v1/chat_identity' +import { ChatIdentity } from './chat_identity' export const protobufPackage = 'communities.v1' diff --git a/packages/status-core/src/proto/communities/v1/emoji_reaction.ts b/packages/status-js/src/proto/communities/v1/emoji_reaction.ts similarity index 99% rename from packages/status-core/src/proto/communities/v1/emoji_reaction.ts rename to packages/status-js/src/proto/communities/v1/emoji_reaction.ts index 92961e8c..b8ac4762 100644 --- a/packages/status-core/src/proto/communities/v1/emoji_reaction.ts +++ b/packages/status-js/src/proto/communities/v1/emoji_reaction.ts @@ -5,7 +5,7 @@ import { MessageType, messageTypeFromJSON, messageTypeToJSON, -} from '../../communities/v1/enums' +} from './enums' export const protobufPackage = 'communities.v1' diff --git a/packages/status-core/src/proto/communities/v1/enums.ts b/packages/status-js/src/proto/communities/v1/enums.ts similarity index 100% rename from packages/status-core/src/proto/communities/v1/enums.ts rename to packages/status-js/src/proto/communities/v1/enums.ts diff --git a/packages/status-core/src/proto/communities/v1/membership_update_message.ts b/packages/status-js/src/proto/communities/v1/membership_update_message.ts similarity index 98% rename from packages/status-core/src/proto/communities/v1/membership_update_message.ts rename to packages/status-js/src/proto/communities/v1/membership_update_message.ts index a3dfa504..3480f1e4 100644 --- a/packages/status-core/src/proto/communities/v1/membership_update_message.ts +++ b/packages/status-js/src/proto/communities/v1/membership_update_message.ts @@ -1,8 +1,8 @@ /* eslint-disable */ import Long from 'long' import _m0 from 'protobufjs/minimal' -import { ChatMessage } from '../../communities/v1/chat_message' -import { EmojiReaction } from '../../communities/v1/emoji_reaction' +import { ChatMessage } from './chat_message' +import { EmojiReaction } from './emoji_reaction' export const protobufPackage = 'communities.v1' diff --git a/packages/status-core/src/proto/communities/v1/status_update.ts b/packages/status-js/src/proto/communities/v1/status_update.ts similarity index 100% rename from packages/status-core/src/proto/communities/v1/status_update.ts rename to packages/status-js/src/proto/communities/v1/status_update.ts diff --git a/packages/status-core/src/proto/status/v1/application_metadata_message.ts b/packages/status-js/src/proto/status/v1/application_metadata_message.ts similarity index 100% rename from packages/status-core/src/proto/status/v1/application_metadata_message.ts rename to packages/status-js/src/proto/status/v1/application_metadata_message.ts diff --git a/packages/status-core/src/topics.ts b/packages/status-js/src/topics.ts similarity index 100% rename from packages/status-core/src/topics.ts rename to packages/status-js/src/topics.ts diff --git a/packages/status-core/src/utils.ts b/packages/status-js/src/utils.ts similarity index 100% rename from packages/status-core/src/utils.ts rename to packages/status-js/src/utils.ts diff --git a/packages/status-core/src/wire/application_metadata_message.ts b/packages/status-js/src/wire/application_metadata_message.ts similarity index 100% rename from packages/status-core/src/wire/application_metadata_message.ts rename to packages/status-js/src/wire/application_metadata_message.ts diff --git a/packages/status-core/src/wire/chat_identity.ts b/packages/status-js/src/wire/chat_identity.ts similarity index 100% rename from packages/status-core/src/wire/chat_identity.ts rename to packages/status-js/src/wire/chat_identity.ts diff --git a/packages/status-core/src/wire/chat_message.spec.ts b/packages/status-js/src/wire/chat_message.spec.ts similarity index 100% rename from packages/status-core/src/wire/chat_message.spec.ts rename to packages/status-js/src/wire/chat_message.spec.ts diff --git a/packages/status-core/src/wire/chat_message.ts b/packages/status-js/src/wire/chat_message.ts similarity index 100% rename from packages/status-core/src/wire/chat_message.ts rename to packages/status-js/src/wire/chat_message.ts diff --git a/packages/status-core/src/wire/community_chat.ts b/packages/status-js/src/wire/community_chat.ts similarity index 100% rename from packages/status-core/src/wire/community_chat.ts rename to packages/status-js/src/wire/community_chat.ts diff --git a/packages/status-core/src/wire/community_description.ts b/packages/status-js/src/wire/community_description.ts similarity index 100% rename from packages/status-core/src/wire/community_description.ts rename to packages/status-js/src/wire/community_description.ts diff --git a/packages/status-core/src/wire/membership_update_message.ts b/packages/status-js/src/wire/membership_update_message.ts similarity index 100% rename from packages/status-core/src/wire/membership_update_message.ts rename to packages/status-js/src/wire/membership_update_message.ts diff --git a/packages/status-core/src/wire/status_update.ts b/packages/status-js/src/wire/status_update.ts similarity index 100% rename from packages/status-core/src/wire/status_update.ts rename to packages/status-js/src/wire/status_update.ts diff --git a/packages/status-core/tsconfig.json b/packages/status-js/tsconfig.json similarity index 100% rename from packages/status-core/tsconfig.json rename to packages/status-js/tsconfig.json