@junobuild/core 0.0.48-next-2024-05-06 → 0.0.49
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/declarations/satellite/satellite.did.d.ts +2 -0
- package/declarations/satellite/satellite.factory.did.js +5 -0
- package/declarations/satellite/satellite.factory.did.mjs +5 -0
- package/dist/browser/canisterStatus-TBLYKI2M.js +2 -0
- package/dist/browser/{chunk-BECG7NRO.js → chunk-JAXPYESO.js} +1 -1
- package/dist/browser/index.js +27 -27
- package/dist/browser/index.js.map +4 -4
- package/dist/declarations/satellite/satellite.did.d.ts +2 -0
- package/dist/declarations/satellite/satellite.factory.did.js +5 -0
- package/dist/declarations/satellite/satellite.factory.did.mjs +5 -0
- package/dist/node/index.mjs +36 -36
- package/dist/node/index.mjs.map +4 -4
- package/dist/types/api/doc.api.d.ts +1 -1
- package/dist/types/api/storage.api.d.ts +3 -3
- package/dist/types/services/doc.services.d.ts +9 -9
- package/dist/types/services/storage.services.d.ts +9 -9
- package/dist/types/utils/actor.utils.d.ts +1 -1
- package/dist/workers/auth.worker.js +15 -10
- package/dist/workers/auth.worker.js.map +4 -4
- package/package.json +6 -6
- package/dist/browser/canisterStatus-GBK6MA5G.js +0 -2
- /package/dist/browser/{canisterStatus-GBK6MA5G.js.map → canisterStatus-TBLYKI2M.js.map} +0 -0
- /package/dist/browser/{chunk-BECG7NRO.js.map → chunk-JAXPYESO.js.map} +0 -0
|
@@ -171,9 +171,11 @@ export interface StorageConfig {
|
|
|
171
171
|
iframe: [] | [StorageConfigIFrame];
|
|
172
172
|
rewrites: Array<[string, string]>;
|
|
173
173
|
headers: Array<[string, Array<[string, string]>]>;
|
|
174
|
+
raw_access: [] | [StorageConfigRawAccess];
|
|
174
175
|
redirects: [] | [Array<[string, StorageConfigRedirect]>];
|
|
175
176
|
}
|
|
176
177
|
export type StorageConfigIFrame = {Deny: null} | {AllowAny: null} | {SameOrigin: null};
|
|
178
|
+
export type StorageConfigRawAccess = {Deny: null} | {Allow: null};
|
|
177
179
|
export interface StorageConfigRedirect {
|
|
178
180
|
status_code: number;
|
|
179
181
|
location: string;
|
|
@@ -57,6 +57,10 @@ export const idlFactory = ({IDL}) => {
|
|
|
57
57
|
AllowAny: IDL.Null,
|
|
58
58
|
SameOrigin: IDL.Null
|
|
59
59
|
});
|
|
60
|
+
const StorageConfigRawAccess = IDL.Variant({
|
|
61
|
+
Deny: IDL.Null,
|
|
62
|
+
Allow: IDL.Null
|
|
63
|
+
});
|
|
60
64
|
const StorageConfigRedirect = IDL.Record({
|
|
61
65
|
status_code: IDL.Nat16,
|
|
62
66
|
location: IDL.Text
|
|
@@ -65,6 +69,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
65
69
|
iframe: IDL.Opt(StorageConfigIFrame),
|
|
66
70
|
rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
67
71
|
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
|
|
72
|
+
raw_access: IDL.Opt(StorageConfigRawAccess),
|
|
68
73
|
redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
|
|
69
74
|
});
|
|
70
75
|
const Config = IDL.Record({storage: StorageConfig});
|
|
@@ -57,6 +57,10 @@ export const idlFactory = ({IDL}) => {
|
|
|
57
57
|
AllowAny: IDL.Null,
|
|
58
58
|
SameOrigin: IDL.Null
|
|
59
59
|
});
|
|
60
|
+
const StorageConfigRawAccess = IDL.Variant({
|
|
61
|
+
Deny: IDL.Null,
|
|
62
|
+
Allow: IDL.Null
|
|
63
|
+
});
|
|
60
64
|
const StorageConfigRedirect = IDL.Record({
|
|
61
65
|
status_code: IDL.Nat16,
|
|
62
66
|
location: IDL.Text
|
|
@@ -65,6 +69,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
65
69
|
iframe: IDL.Opt(StorageConfigIFrame),
|
|
66
70
|
rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
67
71
|
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
|
|
72
|
+
raw_access: IDL.Opt(StorageConfigRawAccess),
|
|
68
73
|
redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
|
|
69
74
|
});
|
|
70
75
|
const Config = IDL.Record({storage: StorageConfig});
|