ncloudchat 1.0.49-beta4 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -2
- package/README.md +29 -29
- package/deploy.sh.bak +20 -0
- package/dist/ncloudchat.min.js +1 -0
- package/esm/CloudChat.d.ts +546 -0
- package/esm/CloudChat.js +2087 -0
- package/esm/CloudChat.js.map +1 -0
- package/esm/CoreManager.d.ts +11 -0
- package/esm/CoreManager.js +38 -0
- package/esm/CoreManager.js.map +1 -0
- package/esm/Dispatcher.d.ts +37 -0
- package/esm/Dispatcher.js +95 -0
- package/esm/Dispatcher.js.map +1 -0
- package/esm/Network.d.ts +7 -0
- package/esm/Network.js +106 -0
- package/esm/Network.js.map +1 -0
- package/esm/Type.d.ts +81 -0
- package/esm/Type.js +31 -0
- package/esm/Type.js.map +1 -0
- package/esm/Util.d.ts +17 -0
- package/esm/Util.js +60 -0
- package/esm/Util.js.map +1 -0
- package/esm/graphql/channel.d.ts +13 -0
- package/esm/graphql/channel.js +19 -0
- package/esm/graphql/channel.js.map +1 -0
- package/esm/graphql/friend.d.ts +11 -0
- package/esm/graphql/friend.js +16 -0
- package/esm/graphql/friend.js.map +1 -0
- package/esm/graphql/integration.d.ts +7 -0
- package/esm/graphql/integration.js +12 -0
- package/esm/graphql/integration.js.map +1 -0
- package/esm/graphql/invite.d.ts +7 -0
- package/esm/graphql/invite.js +11 -0
- package/esm/graphql/invite.js.map +1 -0
- package/esm/graphql/member.d.ts +14 -0
- package/esm/graphql/member.js +19 -0
- package/esm/graphql/member.js.map +1 -0
- package/esm/graphql/message.d.ts +13 -0
- package/esm/graphql/message.js +18 -0
- package/esm/graphql/message.js.map +1 -0
- package/esm/graphql/pin.d.ts +10 -0
- package/esm/graphql/pin.js +15 -0
- package/esm/graphql/pin.js.map +1 -0
- package/esm/graphql/project.d.ts +6 -0
- package/esm/graphql/project.js +8 -0
- package/esm/graphql/project.js.map +1 -0
- package/esm/graphql/subscription.d.ts +11 -0
- package/esm/graphql/subscription.js +16 -0
- package/esm/graphql/subscription.js.map +1 -0
- package/esm/index.d.ts +8 -0
- package/esm/index.js +15 -0
- package/esm/index.js.map +1 -0
- package/esm/logger.d.ts +11 -0
- package/esm/logger.js +56 -0
- package/esm/logger.js.map +1 -0
- package/esm/mutations/channel.d.ts +56 -0
- package/esm/mutations/channel.js +179 -0
- package/esm/mutations/channel.js.map +1 -0
- package/esm/mutations/friend.d.ts +42 -0
- package/esm/mutations/friend.js +132 -0
- package/esm/mutations/friend.js.map +1 -0
- package/esm/mutations/index.d.ts +14 -0
- package/esm/mutations/index.js +31 -0
- package/esm/mutations/index.js.map +1 -0
- package/esm/mutations/integration.d.ts +15 -0
- package/esm/mutations/integration.js +75 -0
- package/esm/mutations/integration.js.map +1 -0
- package/esm/mutations/invite.d.ts +16 -0
- package/esm/mutations/invite.js +74 -0
- package/esm/mutations/invite.js.map +1 -0
- package/esm/mutations/member.d.ts +43 -0
- package/esm/mutations/member.js +203 -0
- package/esm/mutations/member.js.map +1 -0
- package/esm/mutations/message.d.ts +45 -0
- package/esm/mutations/message.js +168 -0
- package/esm/mutations/message.js.map +1 -0
- package/esm/mutations/pin.d.ts +28 -0
- package/esm/mutations/pin.js +98 -0
- package/esm/mutations/pin.js.map +1 -0
- package/esm/mutations/subscription.d.ts +37 -0
- package/esm/mutations/subscription.js +124 -0
- package/esm/mutations/subscription.js.map +1 -0
- package/esm/queries/channel.d.ts +26 -0
- package/esm/queries/channel.js +96 -0
- package/esm/queries/channel.js.map +1 -0
- package/esm/queries/friend.d.ts +17 -0
- package/esm/queries/friend.js +76 -0
- package/esm/queries/friend.js.map +1 -0
- package/esm/queries/index.d.ts +14 -0
- package/esm/queries/index.js +31 -0
- package/esm/queries/index.js.map +1 -0
- package/esm/queries/member.d.ts +18 -0
- package/esm/queries/member.js +87 -0
- package/esm/queries/member.js.map +1 -0
- package/esm/queries/memberblocks.d.ts +17 -0
- package/esm/queries/memberblocks.js +76 -0
- package/esm/queries/memberblocks.js.map +1 -0
- package/esm/queries/message.d.ts +46 -0
- package/esm/queries/message.js +140 -0
- package/esm/queries/message.js.map +1 -0
- package/esm/queries/pin.d.ts +28 -0
- package/esm/queries/pin.js +100 -0
- package/esm/queries/pin.js.map +1 -0
- package/esm/queries/project.d.ts +14 -0
- package/esm/queries/project.js +23 -0
- package/esm/queries/project.js.map +1 -0
- package/esm/queries/subscription.d.ts +27 -0
- package/esm/queries/subscription.js +98 -0
- package/esm/queries/subscription.js.map +1 -0
- package/package.json +40 -19
- package/tsconfig.json +36 -0
- package/types/exif.d.ts +10 -0
- package/types/window.d.ts +5 -0
- package/ncloudchat.d.ts +0 -1422
- package/ncloudchat.min.js +0 -1
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2022 NBASE <dev@itsb.io>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
The JavaScript SDK for NcloudChat Platform
|
|
1
|
+
## 실행 방법
|
|
3
2
|
|
|
3
|
+
npm install
|
|
4
|
+
npm start
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
빌드
|
|
7
|
+
npm run build
|
|
6
8
|
|
|
7
|
-
##
|
|
9
|
+
## 배포 방법 설명
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
각 패키지별 배포 방법을 안내 합니다.
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
* Chrome 16 or later
|
|
13
|
-
* Firewall 11 or later
|
|
14
|
-
* Safari 7 or later
|
|
15
|
-
* Opera 12.1 or later
|
|
16
|
-
* iOS Safari 7 or later
|
|
17
|
-
* Android Browser 4.4 (Kitkat) or later
|
|
13
|
+
### Ncloud Chat Version
|
|
18
14
|
|
|
15
|
+
네이버 클라우드용 SDK 배포 방법
|
|
16
|
+
npm run deploy
|
|
17
|
+
해당 프로젝트 폴더로 이동 후
|
|
18
|
+
패키지 버전 변경 후
|
|
19
|
+
npm publish --tag beta // 배포로 배포 후에 릴리즈 한다.
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
<head>
|
|
22
|
-
<script src="https://unpkg.com/ncloudchat@[VERSION]/ncloudchat.min.js"></script>
|
|
23
|
-
</head>
|
|
24
|
-
```
|
|
21
|
+
### NBase Chat Version
|
|
25
22
|
|
|
26
|
-
|
|
23
|
+
NBASE 용 SDK 배포 방법 설명
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
member leaved 에서 member left 로 변경
|
|
29
26
|
|
|
30
|
-
```javascript
|
|
31
|
-
# using npm
|
|
32
|
-
npm install ncloudchat
|
|
33
27
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
### 4월 18일
|
|
29
|
+
setDebug 추가
|
|
30
|
+
initialize 에 region 추가
|
|
31
|
+
sendImage -> sendFile 도 추가
|
|
37
32
|
|
|
38
33
|
|
|
39
|
-
|
|
34
|
+
### 6월 14일
|
|
35
|
+
getPushState, setPushState 추가
|
|
40
36
|
|
|
41
|
-
|
|
37
|
+
### 6월 20일
|
|
38
|
+
배포
|
|
42
39
|
|
|
43
40
|
|
|
41
|
+
### 2024년 9월 2일
|
|
42
|
+
- getMessageUnreadCount 추가
|
|
44
43
|
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
|
|
45
|
+
### 2024년 10월 24일
|
|
46
|
+
- onChannelAdded, onChannelRemoved
|
package/deploy.sh.bak
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
VERSION='';
|
|
2
|
+
re="\"(version)\": \"([^\"]*)\"";
|
|
3
|
+
|
|
4
|
+
while read -r l; do
|
|
5
|
+
if [[ $l =~ $re ]]; then
|
|
6
|
+
value="${BASH_REMATCH[2]}";
|
|
7
|
+
VERSION="$value";
|
|
8
|
+
fi
|
|
9
|
+
done < package.json;
|
|
10
|
+
|
|
11
|
+
if [ "dev" == "$1" ]; then
|
|
12
|
+
npm run build
|
|
13
|
+
aws --endpoint-url=https://kr.object.ncloudstorage.com s3 cp dist/ncloudchat-${VERSION}.min.js s3://ncloudchat/dev/ --acl public-read
|
|
14
|
+
aws --endpoint-url=https://kr.object.ncloudstorage.com s3 cp dist/ncloudchat-${VERSION}.min.js s3://ncloudchat/dev/ncloudchat-lastest.min.js --acl public-read
|
|
15
|
+
|
|
16
|
+
elif [ "release" = "$1" ]; then
|
|
17
|
+
npm run build
|
|
18
|
+
aws --endpoint-url=https://kr.object.ncloudstorage.com s3 cp dist/ncloudchat-${VERSION}.min.js s3://ncloudchat/ --acl public-read
|
|
19
|
+
# aws --endpoint-url=https://kr.object.ncloudstorage.com s3 cp dist/ncloudchat-${VERSION}.min.js s3://ncloudchat/ncloudchat-lastest.min.js --acl public-read
|
|
20
|
+
fi
|