@inappstory/slide-api 0.1.1 → 0.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/dist/index.cjs +15651 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +15651 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -980,6 +980,10 @@ interface SDKApi {
|
|
|
980
980
|
closeCard(reason: string): void;
|
|
981
981
|
openStory(id: number, index: number): void;
|
|
982
982
|
openGame(gameInstanceId: string): void;
|
|
983
|
+
writeToClipboard(data: {
|
|
984
|
+
type: "text";
|
|
985
|
+
textValue: string;
|
|
986
|
+
}): void;
|
|
983
987
|
}
|
|
984
988
|
declare class WidgetsService {
|
|
985
989
|
private _env;
|
|
@@ -1229,6 +1233,10 @@ interface SDKInterface {
|
|
|
1229
1233
|
* Intent with action - open game
|
|
1230
1234
|
*/
|
|
1231
1235
|
openGame(gameInstanceId: string): void;
|
|
1236
|
+
writeToClipboard(data: {
|
|
1237
|
+
type: "text";
|
|
1238
|
+
textValue: string;
|
|
1239
|
+
}): void;
|
|
1232
1240
|
}
|
|
1233
1241
|
type LocalData = Record<string, any>;
|
|
1234
1242
|
declare global {
|
package/dist/index.d.ts
CHANGED
|
@@ -980,6 +980,10 @@ interface SDKApi {
|
|
|
980
980
|
closeCard(reason: string): void;
|
|
981
981
|
openStory(id: number, index: number): void;
|
|
982
982
|
openGame(gameInstanceId: string): void;
|
|
983
|
+
writeToClipboard(data: {
|
|
984
|
+
type: "text";
|
|
985
|
+
textValue: string;
|
|
986
|
+
}): void;
|
|
983
987
|
}
|
|
984
988
|
declare class WidgetsService {
|
|
985
989
|
private _env;
|
|
@@ -1229,6 +1233,10 @@ interface SDKInterface {
|
|
|
1229
1233
|
* Intent with action - open game
|
|
1230
1234
|
*/
|
|
1231
1235
|
openGame(gameInstanceId: string): void;
|
|
1236
|
+
writeToClipboard(data: {
|
|
1237
|
+
type: "text";
|
|
1238
|
+
textValue: string;
|
|
1239
|
+
}): void;
|
|
1232
1240
|
}
|
|
1233
1241
|
type LocalData = Record<string, any>;
|
|
1234
1242
|
declare global {
|