@transia/isomorphic 1.0.1 → 1.0.2-quantum.0

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/README.md CHANGED
@@ -31,7 +31,7 @@ hash
31
31
 
32
32
  ### `@xrplf/isomorphic/ripemd160`
33
33
  ```typescript
34
- import { ripemd160 } from '@transia/isomorphic/ripemd160';
34
+ import { ripemd160 } from '@xrplf/isomorphic/ripemd160';
35
35
  const hashA = ripemd160('abc');
36
36
  const hashB = ripemd160
37
37
  .create()
@@ -42,7 +42,7 @@ const hashB = ripemd160
42
42
  ### `@xrplf/isomorphic/sha256`
43
43
 
44
44
  ```typescript
45
- import { sha256 } from '@transia/isomorphic/sha256';
45
+ import { sha256 } from '@xrplf/isomorphic/sha256';
46
46
  const hashA = sha256('abc');
47
47
  const hashB = sha256
48
48
  .create()
@@ -53,7 +53,7 @@ const hashB = sha256
53
53
  ### `@xrplf/isomorphic/sha512`
54
54
 
55
55
  ```typescript
56
- import { sha512 } from '@transia/isomorphic/sha512';
56
+ import { sha512 } from '@xrplf/isomorphic/sha512';
57
57
  const hashA = sha512('abc');
58
58
  const hashB = sha512
59
59
  .create()
@@ -118,7 +118,7 @@ console.log(stringToHex('deadbeef֍')) // "6465616462656566D68D"
118
118
  ### `@xrplf/isomorphic/ws`
119
119
 
120
120
  ```typescript
121
- import WebSocket from '@transia/isomorphic/ws'
121
+ import WebSocket from '@xrplf/isomorphic/ws'
122
122
 
123
123
  const socket = new WebSocket('wss://localhost:8080')
124
124
  ```
@@ -1,5 +1,4 @@
1
1
  /// <reference types="node" />
2
- /// <reference types="node" />
3
2
  import { EventEmitter } from 'eventemitter3';
4
3
  interface WSWrapperOptions {
5
4
  perMessageDeflate: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../src/ws/browser.ts"],"names":[],"mappings":";;AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAc5C,U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D,OAAc,UAAU,SAAI;IAC5B,OAAc,IAAI,SAAI;IACtB,OAAc,OAAO,SAAI;IAEzB,OAAc,MAAM,SAAI;IACxB,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAW;IAE9B;;;;;;OAMG;gBAED,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,gBAAgB,GAAG,SAAS,EAC5D,iBAAiB,EAAE,gBAAgB;IA4BrC;;;;OAIG;IACH,IAAW,UAAU,IAAI,MAAM,CAE9B;IAED;;;;;OAKG;IACI,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI;IAMlD;;;;OAIG;IACI,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;CAGnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transia/isomorphic",
3
- "version": "1.0.1",
3
+ "version": "1.0.2-quantum.0",
4
4
  "description": "A collection of isomorphic and tree-shakeable crypto hashes and utils for xrpl.js",
5
5
  "keywords": [
6
6
  "crypto",
@@ -12,7 +12,7 @@
12
12
  "test": "npm run build && jest --verbose false --silent=false ./test/*.test.ts",
13
13
  "test:browser": "npm run build && karma start ./karma.config.js",
14
14
  "clean": "rm -rf ./dist ./coverage ./test/testCompiledForWeb tsconfig.build.tsbuildinfo",
15
- "lint": "eslint . --max-warnings 0",
15
+ "lint": "eslint . --ext .ts",
16
16
  "prepublish": "npm run lint && npm test"
17
17
  },
18
18
  "files": [
@@ -45,8 +45,5 @@
45
45
  "engines": {
46
46
  "node": ">=18.0.0"
47
47
  },
48
- "gitHead": "cdaeed0dc8ccb726deb35aaaddcc229eb9aabe6c",
49
- "publishConfig": {
50
- "access": "public"
51
- }
48
+ "gitHead": "b7bf654dfbba56eca20eded5b08e80f46b06776c"
52
49
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@transia/isomorphic/ripemd160",
2
+ "name": "@xrplf/isomorphic/ripemd160",
3
3
  "private": true,
4
4
  "main": "../dist/ripemd160",
5
5
  "types": "../dist/ripemd160",
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@transia/isomorphic/sha256",
2
+ "name": "@xrplf/isomorphic/sha256",
3
3
  "private": true,
4
4
  "main": "../dist/sha256",
5
5
  "types": "../dist/sha256",
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@transia/isomorphic/sha512",
2
+ "name": "@xrplf/isomorphic/sha512",
3
3
  "private": true,
4
4
  "main": "../dist/sha512",
5
5
  "types": "../dist/sha512",