@vonage/client-sdk 1.3.0-alpha.1 → 1.3.0-alpha.3
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/README.md +9 -6
- package/api_docs/ts/.nojekyll +1 -0
- package/api_docs/ts/assets/highlight.css +127 -0
- package/api_docs/ts/assets/main.js +59 -0
- package/api_docs/ts/assets/navigation.js +1 -0
- package/api_docs/ts/assets/search.js +1 -0
- package/api_docs/ts/assets/style.css +1383 -0
- package/api_docs/ts/classes/ClientConfig.html +220 -0
- package/api_docs/ts/classes/ClientInitConfig.html +159 -0
- package/api_docs/ts/classes/VonageClient.html +1171 -0
- package/api_docs/ts/functions/setDefaultLoggingLevel.html +80 -0
- package/api_docs/ts/functions/setVonageClientLoggingLevel.html +80 -0
- package/api_docs/ts/index.html +121 -0
- package/api_docs/ts/interfaces/ConversationEvent.html +116 -0
- package/api_docs/ts/interfaces/ConversationState.html +1205 -0
- package/api_docs/ts/interfaces/CustomConversationEvent.html +182 -0
- package/api_docs/ts/interfaces/EmbeddedInfo.html +131 -0
- package/api_docs/ts/interfaces/EphemeralConversationEvent.html +160 -0
- package/api_docs/ts/interfaces/EventDeleteConversationEvent.html +171 -0
- package/api_docs/ts/interfaces/From.html +101 -0
- package/api_docs/ts/interfaces/MemberInvitedEvent.html +171 -0
- package/api_docs/ts/interfaces/MemberJoinedEvent.html +171 -0
- package/api_docs/ts/interfaces/MemberLeftEvent.html +171 -0
- package/api_docs/ts/interfaces/MemberState.html +1205 -0
- package/api_docs/ts/interfaces/MessageAudioEvent.html +171 -0
- package/api_docs/ts/interfaces/MessageCustomEvent.html +171 -0
- package/api_docs/ts/interfaces/MessageFileEvent.html +171 -0
- package/api_docs/ts/interfaces/MessageImageEvent.html +171 -0
- package/api_docs/ts/interfaces/MessageLocationEvent.html +171 -0
- package/api_docs/ts/interfaces/MessageTemplateEvent.html +171 -0
- package/api_docs/ts/interfaces/MessageTextEvent.html +171 -0
- package/api_docs/ts/interfaces/MessageVCardEvent.html +171 -0
- package/api_docs/ts/interfaces/MessageVideoEvent.html +171 -0
- package/api_docs/ts/interfaces/NonPersistentConversationEvent.html +145 -0
- package/api_docs/ts/interfaces/PersistentConversationEvent.html +121 -0
- package/api_docs/ts/interfaces/System.html +117 -0
- package/api_docs/ts/modules.html +105 -0
- package/api_docs/ts/types/CustomData.html +69 -0
- package/dist/client/VonageClient.d.ts +53 -17
- package/dist/client/index.cjs +19490 -18957
- package/dist/client/index.mjs +19490 -18957
- package/dist/coreExtend.d.ts +2 -0
- package/dist/kotlin/JsUnions.d.ts +17 -2
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +49 -77
- package/dist/utils/ConversationModels.d.ts +4 -1
- package/dist/utils/RequestParameterModels.d.ts +17 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/vonageClientSDK.js +19066 -18543
- package/dist/vonageClientSDK.min.js +1 -1
- package/dist/vonageClientSDK.min.mjs +1 -1
- package/dist/vonageClientSDK.mjs +19066 -18543
- package/package.json +4 -2
- package/scripts/replaceAllDoNotUseOrImplement.js +25 -0
- package/typedoc.json +40 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/client-sdk",
|
|
3
|
-
"version": "1.3.0-alpha.
|
|
3
|
+
"version": "1.3.0-alpha.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/client/index.mjs",
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
"check": "tsc --project ./examples/tsconfig.json --noEmit --skipLibCheck --strictNullChecks true",
|
|
32
32
|
"lint": "eslint . --ext .ts",
|
|
33
33
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
34
|
-
"clean": "rm -Rf node_modules/*; rm -Rf dist/"
|
|
34
|
+
"clean": "rm -Rf node_modules/*; rm -Rf dist/",
|
|
35
|
+
"build:docs": "npx typedoc --includeVersion --tsconfig ./tsconfig.json --out api_docs/ts src/client/index.ts --includes examples/snippets --disableSources --excludeReferences",
|
|
36
|
+
"clean:doNotUseOrImplementIt": "node ./scripts/replaceAllDoNotUseOrImplement.js ./src/kotlin/clientsdk-clientcore_js.d.ts && node ./scripts/replaceAllDoNotUseOrImplement.js ./dist/kotlin/clientsdk-clientcore_js.d.ts"
|
|
35
37
|
},
|
|
36
38
|
"author": "Vonage CS Team <nexmo.rtc.ci@vonage.com> (https://developer.vonage.com/client-sdk/overview)",
|
|
37
39
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { readFileSync, writeFileSync } from 'fs';
|
|
2
|
+
|
|
3
|
+
function replaceAllDoNotUseOrImplement(filePath) {
|
|
4
|
+
const oldLines = readFileSync(filePath, 'utf8').split('\n');
|
|
5
|
+
const newLines = [];
|
|
6
|
+
|
|
7
|
+
let toSkip = false;
|
|
8
|
+
|
|
9
|
+
for (let line of oldLines) {
|
|
10
|
+
if (line.includes('__doNotUseOrImplementIt')) {
|
|
11
|
+
toSkip = !line.includes(';');
|
|
12
|
+
continue;
|
|
13
|
+
} else if (toSkip) {
|
|
14
|
+
toSkip = !line.includes('};');
|
|
15
|
+
continue;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
newLines.push(line);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
writeFileSync(filePath, newLines.join('\n'), 'utf8');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const filePath = process.argv[2];
|
|
25
|
+
replaceAllDoNotUseOrImplement(filePath);
|
package/typedoc.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"disableSources": true,
|
|
3
|
+
"hideGenerator": true,
|
|
4
|
+
"navigation": {
|
|
5
|
+
"includeCategories": true,
|
|
6
|
+
"includeGroups": true
|
|
7
|
+
},
|
|
8
|
+
"categorizeByGroup": true,
|
|
9
|
+
"visibilityFilters": {
|
|
10
|
+
"protected": false,
|
|
11
|
+
"private": false,
|
|
12
|
+
"inherited": true,
|
|
13
|
+
"external": true,
|
|
14
|
+
"@alpha": false,
|
|
15
|
+
"@beta": false
|
|
16
|
+
},
|
|
17
|
+
"excludeReferences": true,
|
|
18
|
+
"excludeNotDocumented": true,
|
|
19
|
+
"excludeNotDocumentedKinds": [
|
|
20
|
+
"Module",
|
|
21
|
+
"Namespace",
|
|
22
|
+
"Enum",
|
|
23
|
+
// "EnumMember",
|
|
24
|
+
"Variable",
|
|
25
|
+
"Function",
|
|
26
|
+
// "Class",
|
|
27
|
+
// "Interface",
|
|
28
|
+
// "Constructor",
|
|
29
|
+
// "Property",
|
|
30
|
+
"Method",
|
|
31
|
+
"CallSignature",
|
|
32
|
+
"IndexSignature",
|
|
33
|
+
"ConstructorSignature",
|
|
34
|
+
// "Accessor",
|
|
35
|
+
// "GetSignature",
|
|
36
|
+
// "SetSignature",
|
|
37
|
+
"TypeAlias",
|
|
38
|
+
"Reference"
|
|
39
|
+
]
|
|
40
|
+
}
|