@usions/sdk 2.1.1 → 2.1.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/package.json +2 -1
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usions/sdk",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "Usion Mini App SDK for iframe games and services",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/modules/index.js",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"types": "types/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
+
"types": "./types/index.d.ts",
|
|
11
12
|
"import": "./src/modules/index.js",
|
|
12
13
|
"browser": "./src/browser.js",
|
|
13
14
|
"default": "./src/modules/index.js"
|
package/types/index.d.ts
CHANGED
|
@@ -293,7 +293,7 @@ export interface UsionSDK {
|
|
|
293
293
|
error(message: string): void;
|
|
294
294
|
|
|
295
295
|
// Results (server-side persistence)
|
|
296
|
-
saveResult(data: string, metadata?: { thumbnail_url?: string; title?: string; type?: string }): Promise<SavedResult>;
|
|
296
|
+
saveResult(data: string, metadata?: { thumbnail_url?: string; title?: string; type?: string; [key: string]: unknown }): Promise<SavedResult>;
|
|
297
297
|
deleteResult(resultId: string): Promise<void>;
|
|
298
298
|
getResults(): SavedResult[];
|
|
299
299
|
|