@storacha/encrypt-upload-client 0.0.8-0 → 0.0.9

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.
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/config/service.js"],"names":[],"mappings":"AAOA,mCAA2D;AAC3D,uFAAqE;AAErE,iEAIE;AAEF,mCAA2D;AAC3D,uFAAqE;AAErE,iEAIE;AAEF,qCAA6D;AAC7D,yFAAuE;AAEvE,mEAIE;AAEF,2DAA2D;AAC3D,0BADW,OAAO,wBAAwB,EAAE,WAAW,CAKtD;AAED,mCAAyE;wBAzCjD,gBAAgB"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/config/service.js"],"names":[],"mappings":"AAQA,mCAA2D;AAC3D,uFAAqE;AAErE,iEAIE;AAEF,mCAA2D;AAC3D,uFAAqE;AAErE,iEAIE;AAEF,qCAA6D;AAC7D,yFAAuE;AAEvE,mEAIE;AAEF,2DAA2D;AAC3D,0BADW,OAAO,wBAAwB,EAAE,WAAW,CAMtD;AAED,mCAAyE;wBA3CjD,gBAAgB"}
@@ -1,6 +1,7 @@
1
1
  import * as client from '@ucanto/client';
2
2
  import { CAR, HTTP } from '@ucanto/transport';
3
3
  import * as DID from '@ipld/dag-ucan/did';
4
+ import { gatewayServiceConnection } from '@storacha/client/service';
4
5
  const storachaServiceURL = 'https://up.web3.storage';
5
6
  const storachaPrincipalDID = 'did:web:web3.storage';
6
7
  export const accessServiceURL = new URL(storachaServiceURL);
@@ -29,6 +30,7 @@ export const serviceConf = {
29
30
  access: accessServiceConnection,
30
31
  upload: uploadServiceConnection,
31
32
  filecoin: filecoinServiceConnection,
33
+ gateway: gatewayServiceConnection(),
32
34
  };
33
35
  export const receiptsEndpoint = new URL(`${storachaServiceURL}/receipt/`);
34
36
  //# sourceMappingURL=service.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@storacha/encrypt-upload-client",
3
3
  "type": "module",
4
- "version": "0.0.8-0",
4
+ "version": "0.0.9",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "description": "Client for upload and download encrypted files",
7
7
  "author": "Storacha",
@@ -60,7 +60,7 @@
60
60
  "@ucanto/interface": "^10.2.0",
61
61
  "@ucanto/principal": "^9.0.2",
62
62
  "@ucanto/server": "^10.2.0",
63
- "@ucanto/transport": "^9.1.1",
63
+ "@ucanto/transport": "^9.2.0",
64
64
  "@ucanto/validator": "^9.1.0",
65
65
  "blockstore-core": "^3.0.0",
66
66
  "carstream": "^2.1.0",
@@ -69,8 +69,8 @@
69
69
  "ipfs-unixfs-exporter": "^10.0.0",
70
70
  "multiformats": "^13.3.2",
71
71
  "@storacha/capabilities": "^1.4.0",
72
- "@storacha/upload-client": "^1.0.9",
73
- "@storacha/client": "^1.2.4"
72
+ "@storacha/client": "^1.2.6",
73
+ "@storacha/upload-client": "^1.0.9"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@lit-protocol/types": "^7.0.8",
@@ -96,6 +96,7 @@
96
96
  "docs",
97
97
  "docs-generated",
98
98
  "coverage",
99
+ "lit-actions",
99
100
  "src/types.js",
100
101
  "*.min.js"
101
102
  ]