@stacks/storage 6.14.0-beta.0 → 6.14.1-pr.616b5415.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacks/storage",
3
- "version": "6.14.0-beta.0",
3
+ "version": "6.14.1-pr.616b5415.23+616b5415",
4
4
  "description": "Stacks storage library",
5
5
  "license": "MIT",
6
6
  "author": "Hiro Systems PBC (https://hiro.so)",
@@ -20,10 +20,10 @@
20
20
  "typecheck:watch": "npm run typecheck -- --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@stacks/auth": "^6.14.0-beta.0",
24
- "@stacks/common": "^6.14.0-beta.0",
25
- "@stacks/encryption": "^6.14.0-beta.0",
26
- "@stacks/network": "^6.14.0-beta.0",
23
+ "@stacks/auth": "^6.14.1-pr.616b5415.23+616b5415",
24
+ "@stacks/common": "^6.14.1-pr.616b5415.23+616b5415",
25
+ "@stacks/encryption": "^6.14.1-pr.616b5415.23+616b5415",
26
+ "@stacks/network": "^6.14.1-pr.616b5415.23+616b5415",
27
27
  "base64-js": "^1.5.1",
28
28
  "jsontokens": "^4.0.1"
29
29
  },
@@ -55,5 +55,5 @@
55
55
  "bugs": {
56
56
  "url": "https://github.com/blockstack/blockstack.js/issues"
57
57
  },
58
- "gitHead": "a91f28c64f6201435ee8c7ca328c6c5100ab2f0a"
58
+ "gitHead": "616b5415bd208e271a76a429379c6eb090914a55"
59
59
  }
package/src/hub.ts CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  randomBytes,
22
22
  Signature,
23
23
  } from '@stacks/encryption';
24
- import { createFetchFn, FetchFn } from '@stacks/network';
24
+ import { createFetchFn, FetchFn } from '@stacks/common';
25
25
  import { fromByteArray } from 'base64-js';
26
26
  import { TokenSigner } from 'jsontokens';
27
27
 
package/src/storage.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { lookupProfile, NAME_LOOKUP_PATH, UserSession } from '@stacks/auth';
2
2
  import {
3
- BLOCKSTACK_DEFAULT_GAIA_HUB_URL,
4
3
  DoesNotExist,
4
+ GAIA_URL,
5
5
  GaiaHubError,
6
6
  getGlobalObject,
7
7
  InvalidStateError,
@@ -18,7 +18,7 @@ import {
18
18
  signECDSA,
19
19
  verifyECDSA,
20
20
  } from '@stacks/encryption';
21
- import { createFetchFn, FetchFn } from '@stacks/network';
21
+ import { createFetchFn, FetchFn } from '@stacks/common';
22
22
  import { FileContentLoader } from './fileContentLoader';
23
23
  import {
24
24
  connectToGaiaHub,
@@ -804,7 +804,7 @@ export class Storage {
804
804
  }
805
805
 
806
806
  if (!userData.hubUrl) {
807
- userData.hubUrl = BLOCKSTACK_DEFAULT_GAIA_HUB_URL;
807
+ userData.hubUrl = GAIA_URL;
808
808
  }
809
809
 
810
810
  const gaiaConfig = await connectToGaiaHub(