@withautonomi/autonomi 0.4.3 → 0.5.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/index.js CHANGED
@@ -310,7 +310,7 @@ if (!nativeBinding) {
310
310
  throw new Error(`Failed to load native binding`)
311
311
  }
312
312
 
313
- const { Client, ChunkPut, GraphEntryPut, ScratchpadPut, PointerPut, DataPutResult, DataPutPublicResult, ArchivePutResult, ArchivePutPublicResult, DirContentUpload, DirUpload, FileContentUpload, DirContentUploadPublic, DirUploadPublic, FileContentUploadPublic, FetchAndDecryptVault, RegisterCreate, GraphEntryDescendant, XorName, ChunkAddress, GraphEntryAddress, DataAddress, ArchiveAddress, Wallet, PaymentOption, Network, PublicKey, SecretKey, GraphEntry, Pointer, PointerTarget, PointerAddress, Scratchpad, ScratchpadAddress, DataMapChunk, PrivateArchiveDataMap, PrivateArchive, VaultSecretKey, UserData, VaultContentType, Metadata, RegisterAddress, RegisterHistory, PublicArchive } = nativeBinding
313
+ const { Client, ChunkPut, GraphEntryPut, ScratchpadPut, PointerPut, DataPutResult, DataPutPublicResult, ArchivePutResult, ArchivePutPublicResult, DirContentUpload, DirUpload, FileContentUpload, DirContentUploadPublic, DirUploadPublic, FileContentUploadPublic, FetchAndDecryptVault, RegisterCreate, GraphEntryDescendant, XorName, ChunkAddress, GraphEntryAddress, DataAddress, ArchiveAddress, Wallet, TransactionConfig, PaymentOption, Network, PublicKey, SecretKey, GraphEntry, Pointer, PointerTarget, PointerAddress, Scratchpad, ScratchpadAddress, DataMapChunk, PrivateArchiveDataMap, PrivateArchive, VaultSecretKey, UserData, VaultContentType, Metadata, RegisterAddress, RegisterHistory, PublicArchive } = nativeBinding
314
314
 
315
315
  module.exports.Client = Client
316
316
  module.exports.ChunkPut = ChunkPut
@@ -336,6 +336,7 @@ module.exports.GraphEntryAddress = GraphEntryAddress
336
336
  module.exports.DataAddress = DataAddress
337
337
  module.exports.ArchiveAddress = ArchiveAddress
338
338
  module.exports.Wallet = Wallet
339
+ module.exports.TransactionConfig = TransactionConfig
339
340
  module.exports.PaymentOption = PaymentOption
340
341
  module.exports.Network = Network
341
342
  module.exports.PublicKey = PublicKey
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withautonomi/autonomi",
3
- "version": "0.4.3",
3
+ "version": "0.5.0",
4
4
  "description": "NodeJS bindings for Autonomi client",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -21,7 +21,9 @@
21
21
  "devDependencies": {
22
22
  "@napi-rs/cli": "^2.18.4",
23
23
  "@types/node": "^22.13.10",
24
- "ava": "^6.0.1"
24
+ "ava": "^6.0.1",
25
+ "typedoc": "^0.28.2",
26
+ "typescript": "^5.8.3"
25
27
  },
26
28
  "ava": {
27
29
  "timeout": "3m"
@@ -33,7 +35,8 @@
33
35
  "artifacts": "napi artifacts",
34
36
  "build": "napi build --platform --release",
35
37
  "build:debug": "napi build --platform",
36
- "prepublishOnly": "napi prepublish -t npm",
38
+ "docs": "typedoc",
39
+ "prepublishOnly": "napi prepublish --tagstyle npm --skip-gh-release",
37
40
  "test": "ava",
38
41
  "universal": "napi universal",
39
42
  "version": "napi version"
@@ -47,10 +50,16 @@
47
50
  "vault"
48
51
  ],
49
52
  "packageManager": "yarn@4.7.0",
53
+ "typedocOptions": {
54
+ "entryPoints": [
55
+ "./index.d.ts"
56
+ ],
57
+ "includeVersion": true
58
+ },
50
59
  "optionalDependencies": {
51
- "@withautonomi/autonomi-win32-x64-msvc": "0.4.3",
52
- "@withautonomi/autonomi-darwin-x64": "0.4.3",
53
- "@withautonomi/autonomi-linux-x64-gnu": "0.4.3",
54
- "@withautonomi/autonomi-darwin-arm64": "0.4.3"
60
+ "@withautonomi/autonomi-win32-x64-msvc": "0.5.0",
61
+ "@withautonomi/autonomi-darwin-x64": "0.5.0",
62
+ "@withautonomi/autonomi-linux-x64-gnu": "0.5.0",
63
+ "@withautonomi/autonomi-darwin-arm64": "0.5.0"
55
64
  }
56
65
  }