@storacha/clawracha 0.1.22 → 0.1.23
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/plugin.d.ts.map +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +1 -1
package/dist/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,KAAK,EACV,iBAAiB,EAIlB,MAAM,qBAAqB,CAAC;AAmJ7B,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,GAAG,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,KAAK,EACV,iBAAiB,EAIlB,MAAM,qBAAqB,CAAC;AAmJ7B,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,GAAG,EAAE,iBAAiB,QAqmBpD"}
|
package/dist/plugin.js
CHANGED
|
@@ -449,7 +449,7 @@ export default function plugin(api) {
|
|
|
449
449
|
};
|
|
450
450
|
const uploadDel = await storachaClient.createDelegation(audience,
|
|
451
451
|
// @ts-expect-error createDelegation should validate abilities
|
|
452
|
-
Object.keys(spaceAccess));
|
|
452
|
+
Object.keys(spaceAccess), { expiration: Infinity });
|
|
453
453
|
const { ok: archiveBytes } = await uploadDel.archive();
|
|
454
454
|
if (archiveBytes) {
|
|
455
455
|
results.push(`Upload delegation:\n${encodeDelegation(archiveBytes)}`);
|