Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

algo-hot-fix #205

Merged
merged 1 commit into from
Nov 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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