@junobuild/storage 0.1.6 → 0.1.7-next-2025-04-14
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/declarations/console/console.did.d.ts +0 -1
- package/dist/declarations/console/console.factory.certified.did.js +1 -2
- package/dist/declarations/console/console.factory.did.js +1 -2
- package/dist/declarations/console/console.factory.did.mjs +1 -2
- package/dist/declarations/satellite/satellite.did.d.ts +0 -2
- package/dist/declarations/satellite/satellite.factory.certified.did.js +1 -3
- package/dist/declarations/satellite/satellite.factory.did.js +1 -3
- package/dist/declarations/satellite/satellite.factory.did.mjs +1 -3
- package/package.json +7 -7
|
@@ -261,7 +261,6 @@ export interface _SERVICE {
|
|
|
261
261
|
submit_proposal: ActorMethod<[bigint], [bigint, Proposal]>;
|
|
262
262
|
update_rate_config: ActorMethod<[SegmentKind, RateConfig], undefined>;
|
|
263
263
|
upload_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
|
|
264
|
-
version: ActorMethod<[], string>;
|
|
265
264
|
}
|
|
266
265
|
export declare const idlFactory: IDL.InterfaceFactory;
|
|
267
266
|
export declare const init: (args: {IDL: typeof IDL}) => IDL.Type[];
|
|
@@ -275,8 +275,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
275
275
|
set_storage_config: IDL.Func([StorageConfig], [], []),
|
|
276
276
|
submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
|
|
277
277
|
update_rate_config: IDL.Func([SegmentKind, RateConfig], [], []),
|
|
278
|
-
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
279
|
-
version: IDL.Func([], [IDL.Text], [])
|
|
278
|
+
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
280
279
|
});
|
|
281
280
|
};
|
|
282
281
|
// @ts-ignore
|
|
@@ -275,8 +275,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
275
275
|
set_storage_config: IDL.Func([StorageConfig], [], []),
|
|
276
276
|
submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
|
|
277
277
|
update_rate_config: IDL.Func([SegmentKind, RateConfig], [], []),
|
|
278
|
-
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
279
|
-
version: IDL.Func([], [IDL.Text], ['query'])
|
|
278
|
+
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
280
279
|
});
|
|
281
280
|
};
|
|
282
281
|
// @ts-ignore
|
|
@@ -275,8 +275,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
275
275
|
set_storage_config: IDL.Func([StorageConfig], [], []),
|
|
276
276
|
submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
|
|
277
277
|
update_rate_config: IDL.Func([SegmentKind, RateConfig], [], []),
|
|
278
|
-
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
279
|
-
version: IDL.Func([], [IDL.Text], ['query'])
|
|
278
|
+
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
280
279
|
});
|
|
281
280
|
};
|
|
282
281
|
// @ts-ignore
|
|
@@ -237,7 +237,6 @@ export interface UploadChunkResult {
|
|
|
237
237
|
chunk_id: bigint;
|
|
238
238
|
}
|
|
239
239
|
export interface _SERVICE {
|
|
240
|
-
build_version: ActorMethod<[], string>;
|
|
241
240
|
commit_asset_upload: ActorMethod<[CommitBatch], undefined>;
|
|
242
241
|
count_assets: ActorMethod<[string, ListParams], bigint>;
|
|
243
242
|
count_collection_assets: ActorMethod<[string], bigint>;
|
|
@@ -285,7 +284,6 @@ export interface _SERVICE {
|
|
|
285
284
|
set_rule: ActorMethod<[CollectionType, string, SetRule], Rule>;
|
|
286
285
|
set_storage_config: ActorMethod<[StorageConfig], undefined>;
|
|
287
286
|
upload_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
|
|
288
|
-
version: ActorMethod<[], string>;
|
|
289
287
|
}
|
|
290
288
|
export declare const idlFactory: IDL.InterfaceFactory;
|
|
291
289
|
export declare const init: (args: {IDL: typeof IDL}) => IDL.Type[];
|
|
@@ -241,7 +241,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
241
241
|
});
|
|
242
242
|
const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
|
|
243
243
|
return IDL.Service({
|
|
244
|
-
build_version: IDL.Func([], [IDL.Text], []),
|
|
245
244
|
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
246
245
|
count_assets: IDL.Func([IDL.Text, ListParams], [IDL.Nat64], []),
|
|
247
246
|
count_collection_assets: IDL.Func([IDL.Text], [IDL.Nat64], []),
|
|
@@ -309,8 +308,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
309
308
|
),
|
|
310
309
|
set_rule: IDL.Func([CollectionType, IDL.Text, SetRule], [Rule], []),
|
|
311
310
|
set_storage_config: IDL.Func([StorageConfig], [], []),
|
|
312
|
-
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
313
|
-
version: IDL.Func([], [IDL.Text], [])
|
|
311
|
+
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
314
312
|
});
|
|
315
313
|
};
|
|
316
314
|
// @ts-ignore
|
|
@@ -241,7 +241,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
241
241
|
});
|
|
242
242
|
const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
|
|
243
243
|
return IDL.Service({
|
|
244
|
-
build_version: IDL.Func([], [IDL.Text], ['query']),
|
|
245
244
|
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
246
245
|
count_assets: IDL.Func([IDL.Text, ListParams], [IDL.Nat64], ['query']),
|
|
247
246
|
count_collection_assets: IDL.Func([IDL.Text], [IDL.Nat64], ['query']),
|
|
@@ -309,8 +308,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
309
308
|
),
|
|
310
309
|
set_rule: IDL.Func([CollectionType, IDL.Text, SetRule], [Rule], []),
|
|
311
310
|
set_storage_config: IDL.Func([StorageConfig], [], []),
|
|
312
|
-
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
313
|
-
version: IDL.Func([], [IDL.Text], ['query'])
|
|
311
|
+
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
314
312
|
});
|
|
315
313
|
};
|
|
316
314
|
// @ts-ignore
|
|
@@ -241,7 +241,6 @@ export const idlFactory = ({IDL}) => {
|
|
|
241
241
|
});
|
|
242
242
|
const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
|
|
243
243
|
return IDL.Service({
|
|
244
|
-
build_version: IDL.Func([], [IDL.Text], ['query']),
|
|
245
244
|
commit_asset_upload: IDL.Func([CommitBatch], [], []),
|
|
246
245
|
count_assets: IDL.Func([IDL.Text, ListParams], [IDL.Nat64], ['query']),
|
|
247
246
|
count_collection_assets: IDL.Func([IDL.Text], [IDL.Nat64], ['query']),
|
|
@@ -309,8 +308,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
309
308
|
),
|
|
310
309
|
set_rule: IDL.Func([CollectionType, IDL.Text, SetRule], [Rule], []),
|
|
311
310
|
set_storage_config: IDL.Func([StorageConfig], [], []),
|
|
312
|
-
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
313
|
-
version: IDL.Func([], [IDL.Text], ['query'])
|
|
311
|
+
upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
314
312
|
});
|
|
315
313
|
};
|
|
316
314
|
// @ts-ignore
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@junobuild/storage",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7-next-2025-04-14",
|
|
4
4
|
"description": "A library for interfacing with Juno's Storage features.",
|
|
5
5
|
"author": "David Dal Busco (https://daviddalbusco.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
],
|
|
48
48
|
"homepage": "https://juno.build",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@dfinity/agent": "
|
|
51
|
-
"@dfinity/candid": "
|
|
52
|
-
"@dfinity/identity": "
|
|
53
|
-
"@dfinity/principal": "
|
|
54
|
-
"@dfinity/utils": "
|
|
50
|
+
"@dfinity/agent": "*",
|
|
51
|
+
"@dfinity/candid": "*",
|
|
52
|
+
"@dfinity/identity": "*",
|
|
53
|
+
"@dfinity/principal": "*",
|
|
54
|
+
"@dfinity/utils": "*",
|
|
55
55
|
"@junobuild/utils": "*"
|
|
56
56
|
}
|
|
57
|
-
}
|
|
57
|
+
}
|