Skip to content

Commit

Permalink
algo-hot-fix (#205)
Browse files Browse the repository at this point in the history
Co-authored-by: jay_sun <[email protected]>
  • Loading branch information
JeyDev310 and jay_sun authored Nov 5, 2021
1 parent c72ab7f commit 792bddb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tatumio/tatum",
"version": "1.29.9",
"version": "1.29.10",
"description": "Tatum API client allows browsers and Node.js clients to interact with Tatum API.",
"main": "dist/src/index.js",
"repository": "https://github.com/tatumio/tatum-js",
Expand Down
4 changes: 2 additions & 2 deletions src/model/request/BurnMultiToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {PrivateKeyOrSignatureId} from './PrivateKeyOrSignatureId'
export class BurnMultiToken extends PrivateKeyOrSignatureId {

@IsNotEmpty()
@Length(42, 43)
@Length(42, 58)
public account: string;

@IsNotEmpty()
Expand All @@ -16,7 +16,7 @@ export class BurnMultiToken extends PrivateKeyOrSignatureId {
public amount: string;

@IsNotEmpty()
@Length(42, 43)
@Length(1, 43)
public contractAddress: string;

@IsNotEmpty()
Expand Down
4 changes: 2 additions & 2 deletions src/model/request/MintMultiToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {PrivateKeyOrSignatureId} from './PrivateKeyOrSignatureId'
export class MintMultiToken extends PrivateKeyOrSignatureId {

@IsNotEmpty()
@Length(42, 43)
@Length(42, 58)
public to: string;

@IsNotEmpty()
Expand All @@ -19,7 +19,7 @@ export class MintMultiToken extends PrivateKeyOrSignatureId {
public chain: Currency;

@IsNotEmpty()
@Length(42, 43)
@Length(1, 43)
public contractAddress: string;

@Min(0)
Expand Down
4 changes: 2 additions & 2 deletions src/model/request/TransferErc20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { OneOf } from '../validation/OneOf'
export class TransferErc20 extends PrivateKeyOrSignatureId {

@IsNotEmpty()
@Length(42, 43)
@Length(42, 58)
public to: string;

@IsNotEmpty()
Expand All @@ -27,7 +27,7 @@ export class TransferErc20 extends PrivateKeyOrSignatureId {

@OneOf(['currency', 'contractAddress'])
@IsOptional()
@Length(42, 43)
@Length(1, 43)
public contractAddress?: string;

@IsOptional()
Expand Down
4 changes: 2 additions & 2 deletions src/model/request/TransferMultiToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import {PrivateKeyOrSignatureId} from './PrivateKeyOrSignatureId'
export class TransferMultiToken extends PrivateKeyOrSignatureId {

@IsNotEmpty()
@Length(42, 43)
@Length(42, 58)
public to: string;

@IsNotEmpty()
@MaxLength(256)
public tokenId: string;

@IsNotEmpty()
@Length(42, 43)
@Length(1, 43)
public contractAddress: string;

@IsNotEmpty()
Expand Down

0 comments on commit 792bddb

Please sign in to comment.