@hiero-ledger/sdk 2.70.0 → 2.71.0-beta.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
@@ -16,7 +16,7 @@
16
16
 
17
17
  ## Install
18
18
 
19
- **NOTE**: v1 of the SDK is deprecated and support will be discontinued after October 2021. Please install the latest version 2.x or migrate from v1 to the latest 2.x version. You can reference the [migration documentation](/MIGRATING_V1.md).
19
+ **NOTE**: v1 of the SDK is deprecated and support will be discontinued after October 2021. Please install the latest version 2.x or migrate from v1 to the latest 2.x version. You can reference the [migration documentation](./manual//MIGRATING_V1.md).
20
20
 
21
21
  ```
22
22
  # with NPM
@@ -103,7 +103,7 @@ Then, rebuild the iOS project.
103
103
  ⚠️ ✅ Hiero Javascript SDK Version 2.59 and Below
104
104
  For projects using SDK version 2.59 and below, Expo SDK Version 49 and below is supported, keep in mind that the SDK uses some functionalities provided from ethers/ethersproject and there is an issue using parts of ethers.js in this environment. A [shims](https://www.npmjs.com/package/@ethersproject/shims) package has to be installed and imported before importing the SDK in your project.
105
105
 
106
- - Useful information: [here](https://github.com/ethers-io/ethers.js/discussions/3652) and [here](https://docs.ethers.org/v5/cookbook/react-native/)
106
+ - Useful information: [here](https://github.com/ethers-io/ethers.js/discussions/3652) and [here](https://docs.ethers.org/v5/cookbook/react-native/)
107
107
 
108
108
  ```bash
109
109
  npm install @ethersproject/shims
@@ -124,7 +124,7 @@ import {
124
124
 
125
125
  The Hiero JavaScript SDK does not currently support the following:
126
126
 
127
- - React Native Bare
127
+ - React Native Bare
128
128
 
129
129
  ## Usage
130
130
 
@@ -139,7 +139,7 @@ Every example can be executed using the following command from the root director
139
139
 
140
140
  ## Configuration
141
141
 
142
- For detailed information on configuring the SDK, including environment variables and client settings, please refer to the [CONFIGURATION.md](CONFIGURATION.md) file.
142
+ For detailed information on configuring the SDK, including environment variables and client settings, please refer to the [CONFIGURATION.md](./manual/CONFIGURATION.md) file.
143
143
 
144
144
  ## Start tests
145
145
 
package/dist/umd.js CHANGED
@@ -73404,6 +73404,7 @@
73404
73404
  * @param {TokenRelationshipMap} props.tokenRelationships
73405
73405
  * @param {LedgerId|null} props.ledgerId
73406
73406
  * @param {?StakingInfo} props.stakingInfo
73407
+ * @param {Long} props.maxAutomaticTokenAssociations
73407
73408
  */
73408
73409
  constructor(props) {
73409
73410
  /**
@@ -73502,6 +73503,13 @@
73502
73503
  */
73503
73504
  this.tokenRelationships = props.tokenRelationships;
73504
73505
 
73506
+ /**
73507
+ * The maximum number of automatic token associations allowed for this contract.
73508
+ * @readonly
73509
+ */
73510
+ this.maxAutomaticTokenAssociations =
73511
+ props.maxAutomaticTokenAssociations;
73512
+
73505
73513
  /**
73506
73514
  * The ledger ID the response was returned from; please see <a href="https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-198.md">HIP-198</a> for the network-specific IDs.
73507
73515
  */
@@ -73569,6 +73577,12 @@
73569
73577
  info.stakingInfo != null
73570
73578
  ? StakingInfo._fromProtobuf(info.stakingInfo)
73571
73579
  : null,
73580
+ maxAutomaticTokenAssociations:
73581
+ info.maxAutomaticTokenAssociations != null
73582
+ ? Long.isLong(info.maxAutomaticTokenAssociations)
73583
+ ? info.maxAutomaticTokenAssociations
73584
+ : Long.fromValue(info.maxAutomaticTokenAssociations)
73585
+ : Long.ZERO,
73572
73586
  });
73573
73587
  }
73574
73588
 
@@ -73605,6 +73619,8 @@
73605
73619
  this.stakingInfo != null
73606
73620
  ? this.stakingInfo._toProtobuf()
73607
73621
  : null,
73622
+ maxAutomaticTokenAssociations:
73623
+ this.maxAutomaticTokenAssociations.toNumber(),
73608
73624
  };
73609
73625
  }
73610
73626
 
@@ -97866,7 +97882,7 @@
97866
97882
 
97867
97883
  const SDK_NAME = "hiero-sdk-js";
97868
97884
  const SDK_VERSION =
97869
- "2.70.0" ;
97885
+ "2.71.0-beta.0" ;
97870
97886
 
97871
97887
  // SPDX-License-Identifier: Apache-2.0
97872
97888