@ar.io/sdk 2.0.1 → 2.0.2

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.
@@ -18,4 +18,4 @@
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.version = void 0;
20
20
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
21
- exports.version = '2.0.1';
21
+ exports.version = '2.0.2';
@@ -15,4 +15,4 @@
15
15
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
  */
17
17
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
18
- export const version = '2.0.1';
18
+ export const version = '2.0.2';
@@ -106,9 +106,7 @@ export declare class IOWriteable extends IOReadable implements AoIOWrite {
106
106
  operatorStake: number | mIOToken;
107
107
  }, options?: WriteOptions): Promise<AoMessageResult>;
108
108
  leaveNetwork(options?: WriteOptions): Promise<AoMessageResult>;
109
- updateGatewaySettings({ allowDelegatedStaking, delegateRewardShareRatio, fqdn, label, minDelegatedStake, note, port, properties, protocol, autoStake, observerAddress, }: Omit<UpdateGatewaySettingsParams, 'observerWallet'> & {
110
- observerAddress: string;
111
- }, options?: WriteOptions): Promise<AoMessageResult>;
109
+ updateGatewaySettings({ allowDelegatedStaking, delegateRewardShareRatio, fqdn, label, minDelegatedStake, note, port, properties, protocol, autoStake, observerAddress, }: UpdateGatewaySettingsParams, options?: WriteOptions): Promise<AoMessageResult>;
112
110
  delegateStake(params: {
113
111
  target: string;
114
112
  stakeQty: number | mIOToken;
@@ -51,10 +51,7 @@ type Overwrite<T, U> = {
51
51
  };
52
52
  export type JoinNetworkParams = Overwrite<GatewayConnectionSettings & GatewayStakingSettings & GatewayMetadata, {
53
53
  minDelegatedStake: number | mIOToken;
54
- }> & {
55
- qty: number | mIOToken;
56
- observerWallet?: WalletAddress;
57
- };
54
+ }>;
58
55
  export type UpdateGatewaySettingsParamsBase = {
59
56
  allowDelegatedStaking?: boolean;
60
57
  delegateRewardShareRatio?: number;
@@ -66,7 +63,7 @@ export type UpdateGatewaySettingsParamsBase = {
66
63
  properties?: string;
67
64
  protocol?: AllowedProtocols;
68
65
  autoStake?: boolean;
69
- observerWallet?: WalletAddress;
66
+ observerAddress?: WalletAddress;
70
67
  };
71
68
  export type AtLeastOne<T, U = {
72
69
  [K in keyof T]-?: Record<K, T[K]>;
package/lib/types/io.d.ts CHANGED
@@ -117,9 +117,7 @@ export interface AoIOWrite extends AoIORead {
117
117
  operatorStake: number | mIOToken;
118
118
  }, options?: WriteOptions): Promise<AoMessageResult>;
119
119
  leaveNetwork(options?: WriteOptions): Promise<AoMessageResult>;
120
- updateGatewaySettings({ allowDelegatedStaking, delegateRewardShareRatio, fqdn, label, minDelegatedStake, note, port, properties, protocol, autoStake, observerAddress, }: Omit<UpdateGatewaySettingsParams, 'observerWallet'> & {
121
- observerAddress?: WalletAddress;
122
- }, options?: WriteOptions): Promise<AoMessageResult>;
120
+ updateGatewaySettings({ allowDelegatedStaking, delegateRewardShareRatio, fqdn, label, minDelegatedStake, note, port, properties, protocol, autoStake, observerAddress, }: UpdateGatewaySettingsParams, options?: WriteOptions): Promise<AoMessageResult>;
123
121
  increaseOperatorStake(params: {
124
122
  increaseQty: number | mIOToken;
125
123
  }, options?: WriteOptions): Promise<AoMessageResult>;
@@ -14,4 +14,4 @@
14
14
  * You should have received a copy of the GNU Affero General Public License
15
15
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
  */
17
- export declare const version = "2.0.0";
17
+ export declare const version = "2.0.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ar.io/sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ar-io/ar-io-sdk.git"