@stackable-labs/sdk-extension-contracts 2.6.0 → 2.7.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/dist/index.d.ts +6 -2
- package/dist/index.js +0 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -719,8 +719,12 @@ interface ExtensionManifest {
|
|
|
719
719
|
events?: EventType[];
|
|
720
720
|
/**
|
|
721
721
|
* Hostnames this extension is permitted to reach via data.fetch.
|
|
722
|
-
*
|
|
723
|
-
*
|
|
722
|
+
* Prefer exact hostnames. Use `*.<suffix>` wildcards only if you need any
|
|
723
|
+
* subdomain; the apex is separate. No paths, no protocols. Wildcards must
|
|
724
|
+
* use a multi-label suffix (e.g., `*.example.com`, not `*.com`); TLD
|
|
725
|
+
* patterns such as `*.co.uk` may pass format checks but will be rejected
|
|
726
|
+
* at submission.
|
|
727
|
+
* Example: ["api.myservice.com", "cdn.myservice.com", "*.myservice.com"]
|
|
724
728
|
* Use an empty array for extensions that do not use data.fetch.
|
|
725
729
|
*/
|
|
726
730
|
allowedDomains: string[];
|
package/dist/index.js
CHANGED
|
@@ -3,12 +3,6 @@ var asISOTimestamp = (value) => value;
|
|
|
3
3
|
var asClerkUserId = (value) => value;
|
|
4
4
|
var asClerkOrgId = (value) => value;
|
|
5
5
|
|
|
6
|
-
// ../../../lib/contracts/src/custom.ts
|
|
7
|
-
var CUSTOM_ROLE = {
|
|
8
|
-
SUPER_ADMIN: "super_admin"
|
|
9
|
-
};
|
|
10
|
-
new Set(Object.values(CUSTOM_ROLE));
|
|
11
|
-
|
|
12
6
|
// ../../../lib/contracts/src/marketplace.ts
|
|
13
7
|
var EXTENSION_CATEGORY = {
|
|
14
8
|
COMMERCE: "commerce",
|