@shopify/shop-minis-cli 0.0.188 → 0.0.189
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.
|
@@ -14,6 +14,7 @@ export function getDevWebMiniDeeplink({ miniHandle, options, universalLink = fal
|
|
|
14
14
|
features: getMiniManifest()?.features ?? undefined,
|
|
15
15
|
trustedDomains: getMiniManifest()?.trusted_domains ?? undefined,
|
|
16
16
|
permissions: getMiniManifest()?.permissions ?? undefined,
|
|
17
|
+
scopes: getMiniManifest()?.scopes ?? undefined,
|
|
17
18
|
};
|
|
18
19
|
const encodedDevParams = Buffer.from(JSON.stringify(devParams)).toString('base64');
|
|
19
20
|
const deeplink = universalLink
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deeplink.js","sourceRoot":"","sources":["../../../../src/commands/dev/utils/deeplink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAA;AAGxD,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAA;AAEhE,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAA;AAEhE,MAAM,UAAU,YAAY,CAAC,IAAY,EAAE,cAA+B;IACxE,IAAI,cAAc,EAAE;QAClB,OAAO,GAAG,cAAc,CAAC,GAAG,EAAE,EAAE,CAAA;KACjC;IAED,OAAO,UAAU,IAAI,IAAI,eAAe,EAAE,CAAA;AAC5C,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,EACpC,UAAU,EACV,OAAO,EACP,aAAa,GAAG,KAAK,EACrB,cAAc,GAOf;IACC,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC,CAAA;IAE/D,MAAM,SAAS,GAAG;QAChB,YAAY;QACZ,QAAQ,EAAE,eAAe,EAAE,EAAE,QAAQ,IAAI,SAAS;QAClD,cAAc,EAAE,eAAe,EAAE,EAAE,eAAe,IAAI,SAAS;QAC/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,QAAQ,EAAE,CAAC,CAAA;IAE7D,OAAO,QAAQ,CAAA;AACjB,CAAC"}
|
|
@@ -28,13 +28,40 @@
|
|
|
28
28
|
},
|
|
29
29
|
"permissions": {
|
|
30
30
|
"type": "array",
|
|
31
|
-
"description": "A list of optional permissions that your Mini requires",
|
|
31
|
+
"description": "A list of optional permissions that your Mini requires perform specific actions",
|
|
32
32
|
"uniqueItems": true,
|
|
33
33
|
"items": {
|
|
34
34
|
"type": "string",
|
|
35
35
|
"enum": ["CAMERA", "MOTION", "MICROPHONE"]
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
"scopes": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"description": "A list of optional scopes that your Mini requires to read and write specific user data",
|
|
41
|
+
"uniqueItems": true,
|
|
42
|
+
"items": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": [
|
|
45
|
+
"OPENID",
|
|
46
|
+
"USER_SETTINGS_READ",
|
|
47
|
+
"PROFILE",
|
|
48
|
+
"PRODUCTS_RECENT_READ",
|
|
49
|
+
"PRODUCTS_RECOMMENDATIONS_READ",
|
|
50
|
+
"SHOPS_RECENT_READ",
|
|
51
|
+
"SHOPS_FOLLOWS",
|
|
52
|
+
"SHOPS_FOLLOWS_READ",
|
|
53
|
+
"SHOPS_FOLLOWS_WRITE",
|
|
54
|
+
"SHOPS_RECOMMENDATIONS_READ",
|
|
55
|
+
"ORDERS",
|
|
56
|
+
"PRODUCT_LIST",
|
|
57
|
+
"PRODUCT_LIST_READ",
|
|
58
|
+
"PRODUCT_LIST_WRITE",
|
|
59
|
+
"PRODUCT_LIST_ITEM_WRITE",
|
|
60
|
+
"FAVORITES",
|
|
61
|
+
"FAVORITES_WRITE"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
},
|
|
38
65
|
"privacy_policy_url": {
|
|
39
66
|
"type": "string",
|
|
40
67
|
"description": "A URL to the Privacy Policy for this Mini.",
|