|
47 | 47 | }, |
48 | 48 | "./alloc": { |
49 | 49 | "types": "./dist/src/alloc.d.ts", |
| 50 | + "node": "./dist/src/alloc.node.js", |
50 | 51 | "import": "./dist/src/alloc.js" |
51 | 52 | }, |
52 | 53 | "./compare": { |
53 | 54 | "types": "./dist/src/compare.d.ts", |
| 55 | + "node": "./dist/src/compare.node.js", |
54 | 56 | "import": "./dist/src/compare.js" |
55 | 57 | }, |
56 | 58 | "./concat": { |
57 | 59 | "types": "./dist/src/concat.d.ts", |
| 60 | + "node": "./dist/src/concat.node.js", |
58 | 61 | "import": "./dist/src/concat.js" |
59 | 62 | }, |
60 | 63 | "./equals": { |
|
63 | 66 | }, |
64 | 67 | "./from-string": { |
65 | 68 | "types": "./dist/src/from-string.d.ts", |
| 69 | + "node": "./dist/src/from-string.node.js", |
66 | 70 | "import": "./dist/src/from-string.js" |
67 | 71 | }, |
68 | 72 | "./to-string": { |
69 | 73 | "types": "./dist/src/to-string.d.ts", |
| 74 | + "node": "./dist/src/to-string.node.js", |
70 | 75 | "import": "./dist/src/to-string.js" |
71 | 76 | }, |
72 | 77 | "./xor": { |
73 | 78 | "types": "./dist/src/xor.d.ts", |
74 | 79 | "import": "./dist/src/xor.js" |
75 | 80 | } |
76 | 81 | }, |
| 82 | + "imports": { |
| 83 | + "#util/as-uint8array": { |
| 84 | + "types": "./dist/src/util/as-uint8array.d.ts", |
| 85 | + "node": "./dist/src/util/as-uint8array.node.js", |
| 86 | + "import": "./dist/src/util/as-uint8array.js" |
| 87 | + }, |
| 88 | + "#alloc": { |
| 89 | + "types": "./dist/src/alloc.d.ts", |
| 90 | + "node": "./dist/src/alloc.node.js", |
| 91 | + "import": "./dist/src/alloc.js" |
| 92 | + }, |
| 93 | + "#compare": { |
| 94 | + "types": "./dist/src/compare.d.ts", |
| 95 | + "node": "./dist/src/compare.node.js", |
| 96 | + "import": "./dist/src/compare.js" |
| 97 | + }, |
| 98 | + "#concat": { |
| 99 | + "types": "./dist/src/concat.d.ts", |
| 100 | + "node": "./dist/src/concat.node.js", |
| 101 | + "import": "./dist/src/concat.js" |
| 102 | + }, |
| 103 | + "#from-string": { |
| 104 | + "types": "./dist/src/from-string.d.ts", |
| 105 | + "node": "./dist/src/from-string.node.js", |
| 106 | + "import": "./dist/src/from-string.js" |
| 107 | + }, |
| 108 | + "#to-string": { |
| 109 | + "types": "./dist/src/to-string.d.ts", |
| 110 | + "node": "./dist/src/to-string.node.js", |
| 111 | + "import": "./dist/src/to-string.js" |
| 112 | + } |
| 113 | + }, |
77 | 114 | "eslintConfig": { |
78 | 115 | "extends": "ipfs", |
79 | 116 | "parserOptions": { |
|
187 | 224 | "@types/benchmark": "^2.1.1", |
188 | 225 | "aegir": "^42.2.3", |
189 | 226 | "benchmark": "^2.1.4" |
| 227 | + }, |
| 228 | + "react-native": { |
| 229 | + "#util/as-uint8array": "./dist/src/util/as-uint8array.js", |
| 230 | + "#alloc": "./dist/src/alloc.js", |
| 231 | + "#compare": "./dist/src/compare.js", |
| 232 | + "#concat": "./dist/src/concat.js", |
| 233 | + "#from-string": "./dist/src/from-string.js", |
| 234 | + "#to-string": "./dist/src/to-string.js" |
190 | 235 | } |
191 | 236 | } |
0 commit comments