@forge/manifest 13.1.0 → 13.1.1-next.0

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 13.1.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 4c5ba1c: Add `permissions.sandbox` to the manifest schema. When `allow-storage-access-by-user-activation` is included in the `sandbox` array, the app iframe sandbox will include the corresponding token, enabling the app to request third-party storage access (e.g. cookies) via the Storage Access API when triggered by a user gesture.
8
+
9
+ Example usage:
10
+
11
+ ```yaml
12
+ permissions:
13
+ sandbox:
14
+ - allow-storage-access-by-user-activation
15
+ ```
16
+
3
17
  ## 13.1.0
4
18
 
5
19
  ### Minor Changes
@@ -33123,6 +33123,16 @@
33123
33123
  }
33124
33124
  }
33125
33125
  }
33126
+ },
33127
+ "sandbox": {
33128
+ "type": "array",
33129
+ "title": "sandbox",
33130
+ "description": "Additional sandbox permissions to grant the app iframe, corresponding to HTML iframe sandbox attribute tokens.",
33131
+ "items": {
33132
+ "type": "string",
33133
+ "enum": ["allow-storage-access-by-user-activation"]
33134
+ },
33135
+ "minItems": 0
33126
33136
  }
33127
33137
  }
33128
33138
  },
@@ -727,6 +727,10 @@ export type Images = (string | EgressPermission)[];
727
727
  export type Media = (string | EgressPermission)[];
728
728
  export type Scripts1 = (string | EgressPermission)[];
729
729
  export type Styles1 = (string | EgressPermission)[];
730
+ /**
731
+ * Additional sandbox permissions to grant the app iframe, corresponding to HTML iframe sandbox attribute tokens.
732
+ */
733
+ export type Sandbox = 'allow-storage-access-by-user-activation'[];
730
734
  export type Resources = HostedResourcesSchema[];
731
735
  export type Remotes = RemotesSchema[];
732
736
  export type BearerMethodSchema =
@@ -76518,6 +76522,7 @@ export interface Permissions {
76518
76522
  scopes?: Scopes;
76519
76523
  content?: Content1;
76520
76524
  external?: External;
76525
+ sandbox?: Sandbox;
76521
76526
  }
76522
76527
  export interface Content1 {
76523
76528
  scripts?: Scripts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "13.1.0",
3
+ "version": "13.1.1-next.0",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {