@devvit/public-api 0.11.0-next-2024-07-23-33a24e1e5.0 → 0.11.0-next-2024-07-23-81c7fb8e2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.json +3 -3
- package/package.json +7 -7
- package/public-api.d.ts +58 -0
- package/public-api.iife.js +17 -3
package/meta.json
CHANGED
@@ -7509,7 +7509,7 @@
|
|
7509
7509
|
"format": "esm"
|
7510
7510
|
},
|
7511
7511
|
"../protos/dist/types/devvit/ui/effects/v1alpha/create_order.js": {
|
7512
|
-
"bytes":
|
7512
|
+
"bytes": 9894,
|
7513
7513
|
"imports": [
|
7514
7514
|
{
|
7515
7515
|
"path": "../../node_modules/protobufjs/minimal.js",
|
@@ -14026,7 +14026,7 @@
|
|
14026
14026
|
"bytesInOutput": 10006
|
14027
14027
|
},
|
14028
14028
|
"../protos/dist/types/devvit/ui/effects/v1alpha/create_order.js": {
|
14029
|
-
"bytesInOutput":
|
14029
|
+
"bytesInOutput": 8937
|
14030
14030
|
},
|
14031
14031
|
"../protos/dist/types/devvit/ui/effects/v1alpha/interval.js": {
|
14032
14032
|
"bytesInOutput": 7321
|
@@ -14644,7 +14644,7 @@
|
|
14644
14644
|
"bytesInOutput": 4358
|
14645
14645
|
}
|
14646
14646
|
},
|
14647
|
-
"bytes":
|
14647
|
+
"bytes": 15183082
|
14648
14648
|
}
|
14649
14649
|
}
|
14650
14650
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/public-api",
|
3
|
-
"version": "0.11.0-next-2024-07-23-
|
3
|
+
"version": "0.11.0-next-2024-07-23-81c7fb8e2.0",
|
4
4
|
"license": "BSD-3-Clause",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -30,8 +30,8 @@
|
|
30
30
|
},
|
31
31
|
"types": "./index.d.ts",
|
32
32
|
"dependencies": {
|
33
|
-
"@devvit/protos": "0.11.0-next-2024-07-23-
|
34
|
-
"@devvit/shared-types": "0.11.0-next-2024-07-23-
|
33
|
+
"@devvit/protos": "0.11.0-next-2024-07-23-81c7fb8e2.0",
|
34
|
+
"@devvit/shared-types": "0.11.0-next-2024-07-23-81c7fb8e2.0",
|
35
35
|
"base64-js": "1.5.1",
|
36
36
|
"clone-deep": "4.0.1",
|
37
37
|
"core-js": "3.27.2",
|
@@ -39,9 +39,9 @@
|
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
41
|
"@ampproject/filesize": "4.3.0",
|
42
|
-
"@devvit/eslint-config": "0.11.0-next-2024-07-23-
|
43
|
-
"@devvit/repo-tools": "0.11.0-next-2024-07-23-
|
44
|
-
"@devvit/tsconfig": "0.11.0-next-2024-07-23-
|
42
|
+
"@devvit/eslint-config": "0.11.0-next-2024-07-23-81c7fb8e2.0",
|
43
|
+
"@devvit/repo-tools": "0.11.0-next-2024-07-23-81c7fb8e2.0",
|
44
|
+
"@devvit/tsconfig": "0.11.0-next-2024-07-23-81c7fb8e2.0",
|
45
45
|
"@microsoft/api-extractor": "7.41.0",
|
46
46
|
"@reddit/faceplate-ui": "11.3.3",
|
47
47
|
"@types/clone-deep": "4.0.1",
|
@@ -64,5 +64,5 @@
|
|
64
64
|
}
|
65
65
|
},
|
66
66
|
"source": "./src/index.ts",
|
67
|
-
"gitHead": "
|
67
|
+
"gitHead": "a5a76530ee4d7bf35e986a8f0b9506c82f345815"
|
68
68
|
}
|
package/public-api.d.ts
CHANGED
@@ -6908,6 +6908,13 @@ declare const CustomPostDefinition: {
|
|
6908
6908
|
success?: boolean;
|
6909
6909
|
errorMessage?: string | undefined;
|
6910
6910
|
orderId?: string | undefined;
|
6911
|
+
order?: {
|
6912
|
+
id?: string;
|
6913
|
+
skus?: string[];
|
6914
|
+
metadata?: {
|
6915
|
+
[x: string]: string | undefined;
|
6916
|
+
};
|
6917
|
+
} | undefined;
|
6911
6918
|
} | undefined;
|
6912
6919
|
toastAction?: {} | undefined;
|
6913
6920
|
userAction?: {
|
@@ -6991,6 +6998,13 @@ declare const CustomPostDefinition: {
|
|
6991
6998
|
success?: boolean;
|
6992
6999
|
errorMessage?: string | undefined;
|
6993
7000
|
orderId?: string | undefined;
|
7001
|
+
order?: {
|
7002
|
+
id?: string;
|
7003
|
+
skus?: string[];
|
7004
|
+
metadata?: {
|
7005
|
+
[x: string]: string | undefined;
|
7006
|
+
};
|
7007
|
+
} | undefined;
|
6994
7008
|
} | undefined;
|
6995
7009
|
toastAction?: {} | undefined;
|
6996
7010
|
userAction?: {
|
@@ -7200,6 +7214,13 @@ declare const CustomPostDefinition: {
|
|
7200
7214
|
success?: boolean;
|
7201
7215
|
errorMessage?: string | undefined;
|
7202
7216
|
orderId?: string | undefined;
|
7217
|
+
order?: {
|
7218
|
+
id?: string;
|
7219
|
+
skus?: string[];
|
7220
|
+
metadata?: {
|
7221
|
+
[x: string]: string | undefined;
|
7222
|
+
};
|
7223
|
+
} | undefined;
|
7203
7224
|
} | undefined;
|
7204
7225
|
toastAction?: {} | undefined;
|
7205
7226
|
userAction?: {
|
@@ -7566,6 +7587,13 @@ declare const CustomPostDefinition: {
|
|
7566
7587
|
success?: boolean;
|
7567
7588
|
errorMessage?: string | undefined;
|
7568
7589
|
orderId?: string | undefined;
|
7590
|
+
order?: {
|
7591
|
+
id?: string;
|
7592
|
+
skus?: string[];
|
7593
|
+
metadata?: {
|
7594
|
+
[x: string]: string | undefined;
|
7595
|
+
};
|
7596
|
+
} | undefined;
|
7569
7597
|
} | undefined;
|
7570
7598
|
toastAction?: {} | undefined;
|
7571
7599
|
userAction?: {
|
@@ -7826,6 +7854,13 @@ declare const CustomPostDefinition: {
|
|
7826
7854
|
success?: boolean;
|
7827
7855
|
errorMessage?: string | undefined;
|
7828
7856
|
orderId?: string | undefined;
|
7857
|
+
order?: {
|
7858
|
+
id?: string;
|
7859
|
+
skus?: string[];
|
7860
|
+
metadata?: {
|
7861
|
+
[x: string]: string | undefined;
|
7862
|
+
};
|
7863
|
+
} | undefined;
|
7829
7864
|
} | undefined;
|
7830
7865
|
toastAction?: {} | undefined;
|
7831
7866
|
userAction?: {
|
@@ -7909,6 +7944,13 @@ declare const CustomPostDefinition: {
|
|
7909
7944
|
success?: boolean;
|
7910
7945
|
errorMessage?: string | undefined;
|
7911
7946
|
orderId?: string | undefined;
|
7947
|
+
order?: {
|
7948
|
+
id?: string;
|
7949
|
+
skus?: string[];
|
7950
|
+
metadata?: {
|
7951
|
+
[x: string]: string | undefined;
|
7952
|
+
};
|
7953
|
+
} | undefined;
|
7912
7954
|
} | undefined;
|
7913
7955
|
toastAction?: {} | undefined;
|
7914
7956
|
userAction?: {
|
@@ -8118,6 +8160,13 @@ declare const CustomPostDefinition: {
|
|
8118
8160
|
success?: boolean;
|
8119
8161
|
errorMessage?: string | undefined;
|
8120
8162
|
orderId?: string | undefined;
|
8163
|
+
order?: {
|
8164
|
+
id?: string;
|
8165
|
+
skus?: string[];
|
8166
|
+
metadata?: {
|
8167
|
+
[x: string]: string | undefined;
|
8168
|
+
};
|
8169
|
+
} | undefined;
|
8121
8170
|
} | undefined;
|
8122
8171
|
toastAction?: {} | undefined;
|
8123
8172
|
userAction?: {
|
@@ -8484,6 +8533,13 @@ declare const CustomPostDefinition: {
|
|
8484
8533
|
success?: boolean;
|
8485
8534
|
errorMessage?: string | undefined;
|
8486
8535
|
orderId?: string | undefined;
|
8536
|
+
order?: {
|
8537
|
+
id?: string;
|
8538
|
+
skus?: string[];
|
8539
|
+
metadata?: {
|
8540
|
+
[x: string]: string | undefined;
|
8541
|
+
};
|
8542
|
+
} | undefined;
|
8487
8543
|
} | undefined;
|
8488
8544
|
toastAction?: {} | undefined;
|
8489
8545
|
userAction?: {
|
@@ -39452,6 +39508,8 @@ declare interface OrderResultEvent {
|
|
39452
39508
|
errorMessage?: string | undefined;
|
39453
39509
|
/** If success is true, the order ID for the app to use to verify the purchase */
|
39454
39510
|
orderId?: string | undefined;
|
39511
|
+
/** The original request */
|
39512
|
+
order?: CreateOrderEffect | undefined;
|
39455
39513
|
}
|
39456
39514
|
|
39457
39515
|
declare const OrderResultEvent: {
|