@autonomys/auto-utils 1.4.16 → 1.4.17

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
@@ -263,29 +263,7 @@ import { activateDomain } from '@autonomys/auto-utils'
263
263
 
264
264
  ---
265
265
 
266
- ### 5. Data Storage
267
-
268
- #### **Save and Read Data**
269
-
270
- Save data to local storage or the file system and read it back:
271
-
272
- ```typescript
273
- import { save, read } from '@autonomys/auto-utils'
274
-
275
- const key = 'myData'
276
- const value = { message: 'Hello, Autonomys!' }
277
-
278
- // Save data
279
- save(key, value)
280
-
281
- // Read data
282
- const retrievedValue = read(key)
283
- console.log(retrievedValue) // Outputs: { message: 'Hello, Autonomys!' }
284
- ```
285
-
286
- ---
287
-
288
- ### 6. Address Utilities
266
+ ### 5. Address Utilities
289
267
 
290
268
  #### **Convert Address Formats**
291
269
 
package/dist/index.d.ts CHANGED
@@ -4,8 +4,6 @@ export * from './crypto';
4
4
  export * from './keyring';
5
5
  export * from './network';
6
6
  export * from './number';
7
- export * from './read';
8
- export * from './save';
9
7
  export * from './string';
10
8
  export * from './wallet';
11
9
  export * from './constants';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,WAAW,CAAA;AACzB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AAExB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,WAAW,CAAA;AACzB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AAExB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
package/dist/index.js CHANGED
@@ -21,8 +21,6 @@ __exportStar(require("./crypto"), exports);
21
21
  __exportStar(require("./keyring"), exports);
22
22
  __exportStar(require("./network"), exports);
23
23
  __exportStar(require("./number"), exports);
24
- __exportStar(require("./read"), exports);
25
- __exportStar(require("./save"), exports);
26
24
  __exportStar(require("./string"), exports);
27
25
  __exportStar(require("./wallet"), exports);
28
26
  __exportStar(require("./constants"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autonomys/auto-utils",
3
- "version": "1.4.16",
3
+ "version": "1.4.17",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -26,8 +26,7 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@polkadot/api": "^15.8.1",
29
- "@polkadot/extension-dapp": "^0.58.6",
30
- "fs": "^0.0.1-security"
29
+ "@polkadot/extension-dapp": "^0.58.6"
31
30
  },
32
31
  "devDependencies": {
33
32
  "@polkadot/extension-inject": "^0.58.6",
@@ -40,8 +39,5 @@
40
39
  "ts-jest": "^29.3.1",
41
40
  "typescript": "^5.4.5"
42
41
  },
43
- "browser": {
44
- "fs": false
45
- },
46
- "gitHead": "e987dc2a244ce6097f0fa5c4803066c95a7985e3"
42
+ "gitHead": "d921e7787652cf71e47a9785303a41c7f4f8d0fd"
47
43
  }