@k-msg/provider 0.5.0 → 0.6.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/dist/aligo/provider.d.ts +2 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +49 -49
- package/dist/index.js.map +8 -7
- package/dist/index.mjs +49 -49
- package/dist/index.mjs.map +8 -7
- package/dist/iwinv/provider.d.ts +6 -0
- package/dist/solapi/provider.d.ts +2 -0
- package/package.json +2 -2
- /package/dist/{types → aligo/types}/aligo.d.ts +0 -0
package/dist/iwinv/provider.d.ts
CHANGED
|
@@ -10,11 +10,16 @@ export declare class IWINVProvider implements Provider {
|
|
|
10
10
|
send(options: SendOptions): Promise<Result<SendResult, KMsgError>>;
|
|
11
11
|
private normalizePhoneNumber;
|
|
12
12
|
private toBase64;
|
|
13
|
+
private isHttpUrl;
|
|
14
|
+
private guessImageContentType;
|
|
15
|
+
private resolveImageInput;
|
|
16
|
+
private toImageBlob;
|
|
13
17
|
private getSendEndpoint;
|
|
14
18
|
private getAlimTalkHeaders;
|
|
15
19
|
private formatIWINVDate;
|
|
16
20
|
private sendAlimTalk;
|
|
17
21
|
private mapIwinvCodeToKMsgErrorCode;
|
|
22
|
+
private normalizeIwinvCode;
|
|
18
23
|
private resolveSmsBaseUrl;
|
|
19
24
|
private canSendSmsV2;
|
|
20
25
|
private buildSmsSecretHeader;
|
|
@@ -23,6 +28,7 @@ export declare class IWINVProvider implements Provider {
|
|
|
23
28
|
private mapSmsResponseMessage;
|
|
24
29
|
private mapSmsErrorCode;
|
|
25
30
|
private buildLmsTitle;
|
|
31
|
+
private sendSmsV2Mms;
|
|
26
32
|
private sendSmsV2;
|
|
27
33
|
}
|
|
28
34
|
export declare const createIWINVProvider: (config: IWINVConfig) => IWINVProvider;
|
|
@@ -16,6 +16,8 @@ export declare class SolapiProvider implements Provider {
|
|
|
16
16
|
private normalizePhoneNumber;
|
|
17
17
|
private stringifyVariables;
|
|
18
18
|
private toKakaoButtons;
|
|
19
|
+
private resolveImageRef;
|
|
20
|
+
private extractFileId;
|
|
19
21
|
private toSolapiMessageType;
|
|
20
22
|
private buildSolapiSendOneMessage;
|
|
21
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k-msg/provider",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"packageManager": "bun@1.3.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Complete provider system with adapters and implementations for K-Message platform",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"publish": "bun publish --access public"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@k-msg/core": "0.
|
|
38
|
+
"@k-msg/core": "0.6.0",
|
|
39
39
|
"solapi": "^5.5.4",
|
|
40
40
|
"zod": "^4.0.14"
|
|
41
41
|
},
|
|
File without changes
|