@libp2p/crypto 2.0.8-adea7bbbf → 2.0.8-bb6ceb192

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.
@@ -9,7 +9,7 @@ export default {
9
9
  'The most likely cause of this error is that this page is being accessed ' +
10
10
  'from an insecure context (i.e. not HTTPS). For more information and ' +
11
11
  'possible resolutions see ' +
12
- 'https://github.com/libp2p/js-libp2p-crypto/blob/master/README.md#web-crypto-api'), { code: 'ERR_MISSING_WEB_CRYPTO' });
12
+ 'https://github.com/libp2p/js-libp2p/blob/main/packages/crypto/README.md#web-crypto-api'), { code: 'ERR_MISSING_WEB_CRYPTO' });
13
13
  }
14
14
  return nativeCrypto;
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"webcrypto.js","sourceRoot":"","sources":["../../src/webcrypto.ts"],"names":[],"mappings":"AAAA,wBAAwB;AAExB,+EAA+E;AAC/E,6CAA6C;AAC7C,eAAe;IACb,GAAG,CAAE,GAAG,GAAG,UAAU;QACnB,MAAM,YAAY,GAAG,GAAG,CAAC,MAAM,CAAA;QAE/B,IAAI,YAAY,IAAI,IAAI,IAAI,YAAY,CAAC,MAAM,IAAI,IAAI,EAAE;YACvD,MAAM,MAAM,CAAC,MAAM,CACjB,IAAI,KAAK,CACP,0BAA0B;gBAC1B,0EAA0E;gBAC1E,sEAAsE;gBACtE,2BAA2B;gBAC3B,iFAAiF,CAClF,EACD,EAAE,IAAI,EAAE,wBAAwB,EAAE,CACnC,CAAA;SACF;QAED,OAAO,YAAY,CAAA;IACrB,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"webcrypto.js","sourceRoot":"","sources":["../../src/webcrypto.ts"],"names":[],"mappings":"AAAA,wBAAwB;AAExB,+EAA+E;AAC/E,6CAA6C;AAC7C,eAAe;IACb,GAAG,CAAE,GAAG,GAAG,UAAU;QACnB,MAAM,YAAY,GAAG,GAAG,CAAC,MAAM,CAAA;QAE/B,IAAI,YAAY,IAAI,IAAI,IAAI,YAAY,CAAC,MAAM,IAAI,IAAI,EAAE;YACvD,MAAM,MAAM,CAAC,MAAM,CACjB,IAAI,KAAK,CACP,0BAA0B;gBAC1B,0EAA0E;gBAC1E,sEAAsE;gBACtE,2BAA2B;gBAC3B,wFAAwF,CACzF,EACD,EAAE,IAAI,EAAE,wBAAwB,EAAE,CACnC,CAAA;SACF;QAED,OAAO,YAAY,CAAA;IACrB,CAAC;CACF,CAAA"}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@libp2p/crypto",
3
- "version": "2.0.8-adea7bbbf",
3
+ "version": "2.0.8-bb6ceb192",
4
4
  "description": "Crypto primitives for libp2p",
5
5
  "license": "Apache-2.0 OR MIT",
6
- "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/crypto#readme",
6
+ "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/crypto#readme",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/libp2p/js-libp2p.git"
@@ -86,7 +86,7 @@
86
86
  "generate": "protons ./src/keys/keys.proto"
87
87
  },
88
88
  "dependencies": {
89
- "@libp2p/interface": "0.1.6-adea7bbbf",
89
+ "@libp2p/interface": "0.1.6-bb6ceb192",
90
90
  "@noble/curves": "^1.1.0",
91
91
  "@noble/hashes": "^1.3.1",
92
92
  "multiformats": "^12.1.3",
package/src/webcrypto.ts CHANGED
@@ -13,7 +13,7 @@ export default {
13
13
  'The most likely cause of this error is that this page is being accessed ' +
14
14
  'from an insecure context (i.e. not HTTPS). For more information and ' +
15
15
  'possible resolutions see ' +
16
- 'https://github.com/libp2p/js-libp2p-crypto/blob/master/README.md#web-crypto-api'
16
+ 'https://github.com/libp2p/js-libp2p/blob/main/packages/crypto/README.md#web-crypto-api'
17
17
  ),
18
18
  { code: 'ERR_MISSING_WEB_CRYPTO' }
19
19
  )