@devvit/public-api 0.11.0-next-2024-07-22-4764a9e68.0 → 0.11.0-next-2024-07-23-a4c91a790.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 +20 -0
- package/public-api.iife.js +30 -2
package/meta.json
CHANGED
@@ -8547,7 +8547,7 @@
|
|
8547
8547
|
"format": "esm"
|
8548
8548
|
},
|
8549
8549
|
"../protos/dist/types/devvit/payments/v1alpha/product.js": {
|
8550
|
-
"bytes":
|
8550
|
+
"bytes": 11309,
|
8551
8551
|
"imports": [
|
8552
8552
|
{
|
8553
8553
|
"path": "../../node_modules/protobufjs/minimal.js",
|
@@ -14154,7 +14154,7 @@
|
|
14154
14154
|
"bytesInOutput": 29854
|
14155
14155
|
},
|
14156
14156
|
"../protos/dist/types/devvit/payments/v1alpha/product.js": {
|
14157
|
-
"bytesInOutput":
|
14157
|
+
"bytesInOutput": 10166
|
14158
14158
|
},
|
14159
14159
|
"../protos/dist/types/devvit/payments/v1alpha/common.js": {
|
14160
14160
|
"bytesInOutput": 1229
|
@@ -14643,7 +14643,7 @@
|
|
14643
14643
|
"bytesInOutput": 4358
|
14644
14644
|
}
|
14645
14645
|
},
|
14646
|
-
"bytes":
|
14646
|
+
"bytes": 15182176
|
14647
14647
|
}
|
14648
14648
|
}
|
14649
14649
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/public-api",
|
3
|
-
"version": "0.11.0-next-2024-07-
|
3
|
+
"version": "0.11.0-next-2024-07-23-a4c91a790.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-
|
34
|
-
"@devvit/shared-types": "0.11.0-next-2024-07-
|
33
|
+
"@devvit/protos": "0.11.0-next-2024-07-23-a4c91a790.0",
|
34
|
+
"@devvit/shared-types": "0.11.0-next-2024-07-23-a4c91a790.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-
|
43
|
-
"@devvit/repo-tools": "0.11.0-next-2024-07-
|
44
|
-
"@devvit/tsconfig": "0.11.0-next-2024-07-
|
42
|
+
"@devvit/eslint-config": "0.11.0-next-2024-07-23-a4c91a790.0",
|
43
|
+
"@devvit/repo-tools": "0.11.0-next-2024-07-23-a4c91a790.0",
|
44
|
+
"@devvit/tsconfig": "0.11.0-next-2024-07-23-a4c91a790.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": "e61f00c667655baf5cea5670e3603f53a7927532"
|
68
68
|
}
|
package/public-api.d.ts
CHANGED
@@ -3400,11 +3400,13 @@ declare const BuildPackDefinition: {
|
|
3400
3400
|
products?: {
|
3401
3401
|
[x: string]: {
|
3402
3402
|
sku?: string;
|
3403
|
+
name?: string;
|
3403
3404
|
price?: {
|
3404
3405
|
amount?: number;
|
3405
3406
|
currency?: Currency_2;
|
3406
3407
|
} | undefined;
|
3407
3408
|
environment?: Environment_2;
|
3409
|
+
description?: string;
|
3408
3410
|
productMetadata?: {
|
3409
3411
|
[x: string]: string | undefined;
|
3410
3412
|
};
|
@@ -3500,11 +3502,13 @@ declare const BuildPackDefinition: {
|
|
3500
3502
|
products?: {
|
3501
3503
|
[x: string]: {
|
3502
3504
|
sku?: string;
|
3505
|
+
name?: string;
|
3503
3506
|
price?: {
|
3504
3507
|
amount?: number;
|
3505
3508
|
currency?: Currency_2;
|
3506
3509
|
} | undefined;
|
3507
3510
|
environment?: Environment_2;
|
3511
|
+
description?: string;
|
3508
3512
|
productMetadata?: {
|
3509
3513
|
[x: string]: string | undefined;
|
3510
3514
|
};
|
@@ -3657,11 +3661,13 @@ declare const BuildPackDefinition: {
|
|
3657
3661
|
products?: {
|
3658
3662
|
[x: string]: {
|
3659
3663
|
sku?: string;
|
3664
|
+
name?: string;
|
3660
3665
|
price?: {
|
3661
3666
|
amount?: number;
|
3662
3667
|
currency?: Currency_2;
|
3663
3668
|
} | undefined;
|
3664
3669
|
environment?: Environment_2;
|
3670
|
+
description?: string;
|
3665
3671
|
productMetadata?: {
|
3666
3672
|
[x: string]: string | undefined;
|
3667
3673
|
};
|
@@ -3757,11 +3763,13 @@ declare const BuildPackDefinition: {
|
|
3757
3763
|
products?: {
|
3758
3764
|
[x: string]: {
|
3759
3765
|
sku?: string;
|
3766
|
+
name?: string;
|
3760
3767
|
price?: {
|
3761
3768
|
amount?: number;
|
3762
3769
|
currency?: Currency_2;
|
3763
3770
|
} | undefined;
|
3764
3771
|
environment?: Environment_2;
|
3772
|
+
description?: string;
|
3765
3773
|
productMetadata?: {
|
3766
3774
|
[x: string]: string | undefined;
|
3767
3775
|
};
|
@@ -17398,11 +17406,13 @@ declare const LinkerDefinition: {
|
|
17398
17406
|
products?: {
|
17399
17407
|
[x: string]: {
|
17400
17408
|
sku?: string;
|
17409
|
+
name?: string;
|
17401
17410
|
price?: {
|
17402
17411
|
amount?: number;
|
17403
17412
|
currency?: Currency_2;
|
17404
17413
|
} | undefined;
|
17405
17414
|
environment?: Environment_2;
|
17415
|
+
description?: string;
|
17406
17416
|
productMetadata?: {
|
17407
17417
|
[x: string]: string | undefined;
|
17408
17418
|
};
|
@@ -17476,11 +17486,13 @@ declare const LinkerDefinition: {
|
|
17476
17486
|
products?: {
|
17477
17487
|
[x: string]: {
|
17478
17488
|
sku?: string;
|
17489
|
+
name?: string;
|
17479
17490
|
price?: {
|
17480
17491
|
amount?: number;
|
17481
17492
|
currency?: Currency_2;
|
17482
17493
|
} | undefined;
|
17483
17494
|
environment?: Environment_2;
|
17495
|
+
description?: string;
|
17484
17496
|
productMetadata?: {
|
17485
17497
|
[x: string]: string | undefined;
|
17486
17498
|
};
|
@@ -41965,10 +41977,14 @@ declare const ProducerServiceName = "devvit.actor.producer.Producer";
|
|
41965
41977
|
declare interface Product {
|
41966
41978
|
/** the developer defined identifer for the product */
|
41967
41979
|
sku: string;
|
41980
|
+
/** Human-readable name of the product */
|
41981
|
+
name: string;
|
41968
41982
|
/** the price of the product */
|
41969
41983
|
price?: ProductPrice | undefined;
|
41970
41984
|
/** whether or not this product is defined for sandbox or production purchases */
|
41971
41985
|
environment: Environment;
|
41986
|
+
/** Human-readable description of the product */
|
41987
|
+
description: string;
|
41972
41988
|
/** tags associated with the product */
|
41973
41989
|
productMetadata: {
|
41974
41990
|
[key: string]: string;
|
@@ -47604,11 +47620,13 @@ declare const ResolverDefinition: {
|
|
47604
47620
|
products?: {
|
47605
47621
|
[x: string]: {
|
47606
47622
|
sku?: string;
|
47623
|
+
name?: string;
|
47607
47624
|
price?: {
|
47608
47625
|
amount?: number;
|
47609
47626
|
currency?: Currency_2;
|
47610
47627
|
} | undefined;
|
47611
47628
|
environment?: Environment_2;
|
47629
|
+
description?: string;
|
47612
47630
|
productMetadata?: {
|
47613
47631
|
[x: string]: string | undefined;
|
47614
47632
|
};
|
@@ -47682,11 +47700,13 @@ declare const ResolverDefinition: {
|
|
47682
47700
|
products?: {
|
47683
47701
|
[x: string]: {
|
47684
47702
|
sku?: string;
|
47703
|
+
name?: string;
|
47685
47704
|
price?: {
|
47686
47705
|
amount?: number;
|
47687
47706
|
currency?: Currency_2;
|
47688
47707
|
} | undefined;
|
47689
47708
|
environment?: Environment_2;
|
47709
|
+
description?: string;
|
47690
47710
|
productMetadata?: {
|
47691
47711
|
[x: string]: string | undefined;
|
47692
47712
|
};
|