@shopify/ui-extensions-server-kit 5.2.0 → 5.2.1
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/CHANGELOG.md +6 -0
- package/dist/types.d.ts +4 -0
- package/package.json +2 -3
- package/src/types.ts +5 -0
package/CHANGELOG.md
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -99,11 +99,15 @@ interface CollectBuyerConsentCapabilities {
|
|
|
99
99
|
smsMarketing: boolean;
|
|
100
100
|
customerPrivacy: boolean;
|
|
101
101
|
}
|
|
102
|
+
interface IframeCapabilities {
|
|
103
|
+
sources: string[];
|
|
104
|
+
}
|
|
102
105
|
interface Capabilities {
|
|
103
106
|
apiAccess: boolean;
|
|
104
107
|
blockProgress: boolean;
|
|
105
108
|
networkAccess: boolean;
|
|
106
109
|
collectBuyerConsent: CollectBuyerConsentCapabilities;
|
|
110
|
+
iframe: IframeCapabilities;
|
|
107
111
|
}
|
|
108
112
|
export interface ExtensionPayload {
|
|
109
113
|
type: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/ui-extensions-server-kit",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"exports": {
|
|
@@ -48,8 +48,7 @@
|
|
|
48
48
|
"react": "^17.0.2",
|
|
49
49
|
"typescript": "5.2.2",
|
|
50
50
|
"vi-fetch": "^0.8.0",
|
|
51
|
-
"vite": "^5.3.1"
|
|
52
|
-
"vitest": "^1.6.0"
|
|
51
|
+
"vite": "^5.3.1"
|
|
53
52
|
},
|
|
54
53
|
"peerDependencies": {
|
|
55
54
|
"react": "^17.0.2"
|
package/src/types.ts
CHANGED
|
@@ -102,11 +102,16 @@ interface CollectBuyerConsentCapabilities {
|
|
|
102
102
|
customerPrivacy: boolean
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
interface IframeCapabilities {
|
|
106
|
+
sources: string[]
|
|
107
|
+
}
|
|
108
|
+
|
|
105
109
|
interface Capabilities {
|
|
106
110
|
apiAccess: boolean
|
|
107
111
|
blockProgress: boolean
|
|
108
112
|
networkAccess: boolean
|
|
109
113
|
collectBuyerConsent: CollectBuyerConsentCapabilities
|
|
114
|
+
iframe: IframeCapabilities
|
|
110
115
|
}
|
|
111
116
|
|
|
112
117
|
export interface ExtensionPayload {
|