@react-native-kakao/channel 2.0.0 → 2.1.0
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/lib/commonjs/index.web.js +35 -24
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/module/index.web.js +22 -24
- package/lib/module/index.web.js.map +1 -1
- package/lib/typescript/src/index.web.d.ts +4 -0
- package/lib/typescript/src/index.web.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.web.ts +25 -24
|
@@ -1,26 +1,37 @@
|
|
|
1
|
-
// import type { KakaoChannelAPI } from './index';
|
|
2
|
-
//
|
|
3
|
-
// const KakaoChannel: KakaoChannelAPI = {
|
|
4
|
-
// followChannel: (channelPublicId: string): Promise<boolean> => {},
|
|
5
|
-
// addChannel: (channelPublicId: string): Promise<void> => {},
|
|
6
|
-
// getAddChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
7
|
-
// openAddChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
8
|
-
// chatChannel: (channelPublicId: string): Promise<void> => {},
|
|
9
|
-
// getChatChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
10
|
-
// openChatChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
11
|
-
// channels: (params) => {},
|
|
12
|
-
// };
|
|
13
|
-
//
|
|
14
|
-
// export const {
|
|
15
|
-
// addChannel,
|
|
16
|
-
// followChannel,
|
|
17
|
-
// channels,
|
|
18
|
-
// chatChannel,
|
|
19
|
-
// getAddChannelUrl,
|
|
20
|
-
// getChatChannelUrl,
|
|
21
|
-
// openAddChannelUrl,
|
|
22
|
-
// openChatChannelUrl,
|
|
23
|
-
// } = KakaoChannel;
|
|
24
|
-
// export default KakaoChannel;
|
|
25
1
|
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.openChatChannelUrl = exports.openAddChannelUrl = exports.getChatChannelUrl = exports.getAddChannelUrl = exports.followChannel = exports.default = exports.chatChannel = exports.channels = exports.addChannel = void 0;
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
const KakaoChannel = {
|
|
9
|
+
// followChannel: (channelPublicId: string): Promise<boolean> => {},
|
|
10
|
+
// addChannel: (channelPublicId: string): Promise<void> => {},
|
|
11
|
+
// getAddChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
12
|
+
// openAddChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
13
|
+
// chatChannel: (channelPublicId: string): Promise<void> => {},
|
|
14
|
+
// getChatChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
15
|
+
// openChatChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
16
|
+
// channels: (params) => {},
|
|
17
|
+
};
|
|
18
|
+
const {
|
|
19
|
+
addChannel,
|
|
20
|
+
followChannel,
|
|
21
|
+
channels,
|
|
22
|
+
chatChannel,
|
|
23
|
+
getAddChannelUrl,
|
|
24
|
+
getChatChannelUrl,
|
|
25
|
+
openAddChannelUrl,
|
|
26
|
+
openChatChannelUrl
|
|
27
|
+
} = KakaoChannel;
|
|
28
|
+
exports.openChatChannelUrl = openChatChannelUrl;
|
|
29
|
+
exports.openAddChannelUrl = openAddChannelUrl;
|
|
30
|
+
exports.getChatChannelUrl = getChatChannelUrl;
|
|
31
|
+
exports.getAddChannelUrl = getAddChannelUrl;
|
|
32
|
+
exports.chatChannel = chatChannel;
|
|
33
|
+
exports.channels = channels;
|
|
34
|
+
exports.followChannel = followChannel;
|
|
35
|
+
exports.addChannel = addChannel;
|
|
36
|
+
var _default = exports.default = KakaoChannel;
|
|
26
37
|
//# sourceMappingURL=index.web.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["index.web.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["KakaoChannel","addChannel","followChannel","channels","chatChannel","getAddChannelUrl","getChatChannelUrl","openAddChannelUrl","openChatChannelUrl","exports","_default","default"],"sourceRoot":"../../src","sources":["index.web.ts"],"mappings":";;;;;;AAEA;AACA,MAAMA,YAA6B,GAAG;EACpC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAAA,CACD;AAEM,MAAM;EACXC,UAAU;EACVC,aAAa;EACbC,QAAQ;EACRC,WAAW;EACXC,gBAAgB;EAChBC,iBAAiB;EACjBC,iBAAiB;EACjBC;AACF,CAAC,GAAGR,YAAY;AAACS,OAAA,CAAAD,kBAAA,GAAAA,kBAAA;AAAAC,OAAA,CAAAF,iBAAA,GAAAA,iBAAA;AAAAE,OAAA,CAAAH,iBAAA,GAAAA,iBAAA;AAAAG,OAAA,CAAAJ,gBAAA,GAAAA,gBAAA;AAAAI,OAAA,CAAAL,WAAA,GAAAA,WAAA;AAAAK,OAAA,CAAAN,QAAA,GAAAA,QAAA;AAAAM,OAAA,CAAAP,aAAA,GAAAA,aAAA;AAAAO,OAAA,CAAAR,UAAA,GAAAA,UAAA;AAAA,IAAAS,QAAA,GAAAD,OAAA,CAAAE,OAAA,GACFX,YAAY","ignoreList":[]}
|
package/lib/module/index.web.js
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
// } = KakaoChannel;
|
|
24
|
-
// export default KakaoChannel;
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
const KakaoChannel = {
|
|
3
|
+
// followChannel: (channelPublicId: string): Promise<boolean> => {},
|
|
4
|
+
// addChannel: (channelPublicId: string): Promise<void> => {},
|
|
5
|
+
// getAddChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
6
|
+
// openAddChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
7
|
+
// chatChannel: (channelPublicId: string): Promise<void> => {},
|
|
8
|
+
// getChatChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
9
|
+
// openChatChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
10
|
+
// channels: (params) => {},
|
|
11
|
+
};
|
|
12
|
+
export const {
|
|
13
|
+
addChannel,
|
|
14
|
+
followChannel,
|
|
15
|
+
channels,
|
|
16
|
+
chatChannel,
|
|
17
|
+
getAddChannelUrl,
|
|
18
|
+
getChatChannelUrl,
|
|
19
|
+
openAddChannelUrl,
|
|
20
|
+
openChatChannelUrl
|
|
21
|
+
} = KakaoChannel;
|
|
22
|
+
export default KakaoChannel;
|
|
25
23
|
//# sourceMappingURL=index.web.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["index.web.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["KakaoChannel","addChannel","followChannel","channels","chatChannel","getAddChannelUrl","getChatChannelUrl","openAddChannelUrl","openChatChannelUrl"],"sourceRoot":"../../src","sources":["index.web.ts"],"mappings":"AAEA;AACA,MAAMA,YAA6B,GAAG;EACpC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAAA,CACD;AAED,OAAO,MAAM;EACXC,UAAU;EACVC,aAAa;EACbC,QAAQ;EACRC,WAAW;EACXC,gBAAgB;EAChBC,iBAAiB;EACjBC,iBAAiB;EACjBC;AACF,CAAC,GAAGR,YAAY;AAChB,eAAeA,YAAY","ignoreList":[]}
|
|
@@ -1 +1,5 @@
|
|
|
1
|
+
import type { KakaoChannelAPI } from './index';
|
|
2
|
+
declare const KakaoChannel: KakaoChannelAPI;
|
|
3
|
+
export declare const addChannel: typeof import("./index").addChannel, followChannel: typeof import("./index").followChannel, channels: typeof import("./index").channels, chatChannel: typeof import("./index").chatChannel, getAddChannelUrl: typeof import("./index").getAddChannelUrl, getChatChannelUrl: typeof import("./index").getChatChannelUrl, openAddChannelUrl: typeof import("./index").openAddChannelUrl, openChatChannelUrl: typeof import("./index").openChatChannelUrl;
|
|
4
|
+
export default KakaoChannel;
|
|
1
5
|
//# sourceMappingURL=index.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG/C,QAAA,MAAM,YAAY,EAAE,eASnB,CAAC;AAEF,eAAO,MACL,UAAU,uCACV,aAAa,0CACb,QAAQ,qCACR,WAAW,wCACX,gBAAgB,6CAChB,iBAAiB,8CACjB,iBAAiB,8CACjB,kBAAkB,6CACJ,CAAC;AACjB,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-kakao/channel",
|
|
3
3
|
"description": "React Native Kakao Channel SDK",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
7
7
|
"types": "lib/typescript/src/index.d.ts",
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"dependencies": {
|
|
114
114
|
"@mj-studio/js-util": "^1.0.34"
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "925facd70f4e29d6b99e424661c2c35c1884494e"
|
|
117
117
|
}
|
package/src/index.web.ts
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
//
|
|
12
|
-
// }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import type { KakaoChannelAPI } from './index';
|
|
2
|
+
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
const KakaoChannel: KakaoChannelAPI = {
|
|
5
|
+
// followChannel: (channelPublicId: string): Promise<boolean> => {},
|
|
6
|
+
// addChannel: (channelPublicId: string): Promise<void> => {},
|
|
7
|
+
// getAddChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
8
|
+
// openAddChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
9
|
+
// chatChannel: (channelPublicId: string): Promise<void> => {},
|
|
10
|
+
// getChatChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
11
|
+
// openChatChannelUrl: (channelPublicId: string): Promise<string> => {},
|
|
12
|
+
// channels: (params) => {},
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const {
|
|
16
|
+
addChannel,
|
|
17
|
+
followChannel,
|
|
18
|
+
channels,
|
|
19
|
+
chatChannel,
|
|
20
|
+
getAddChannelUrl,
|
|
21
|
+
getChatChannelUrl,
|
|
22
|
+
openAddChannelUrl,
|
|
23
|
+
openChatChannelUrl,
|
|
24
|
+
} = KakaoChannel;
|
|
25
|
+
export default KakaoChannel;
|