After importing the new version I face these errors
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 112
';' expected.
L111: PUBLIC = 'Kin Mainnet ; December 2018',
L112: TESTNET = 'Kin Testnet ; December 2018',
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 112
';' expected.
L111: PUBLIC = 'Kin Mainnet ; December 2018',
L112: TESTNET = 'Kin Testnet ; December 2018',
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 112
'=' expected.
L111: PUBLIC = 'Kin Mainnet ; December 2018',
L112: TESTNET = 'Kin Testnet ; December 2018',
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 112
';' expected.
L111: PUBLIC = 'Kin Mainnet ; December 2018',
L112: TESTNET = 'Kin Testnet ; December 2018',
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 113
';' expected.
L112: TESTNET = 'Kin Testnet ; December 2018',
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 113
';' expected.
L112: TESTNET = 'Kin Testnet ; December 2018',
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 113
'=' expected.
L112: TESTNET = 'Kin Testnet ; December 2018',
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 113
';' expected.
L112: TESTNET = 'Kin Testnet ; December 2018',
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 114
';' expected.
L115: export class Network {
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 114
';' expected.
L115: export class Network {
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 114
'=' expected.
L115: export class Network {
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 114
';' expected.
L115: export class Network {
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 115
';' expected.
L115: export class Network {
L116: static use(network: Network): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 115
';' expected.
L115: export class Network {
L116: static use(network: Network): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 115
'=' expected.
L115: export class Network {
L116: static use(network: Network): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 115
';' expected.
L115: export class Network {
L116: static use(network: Network): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 116
';' expected.
L115: export class Network {
L116: static use(network: Network): void;
L117: static usePublicNetwork(): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 116
';' expected.
L115: export class Network {
L116: static use(network: Network): void;
L117: static usePublicNetwork(): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 116
'=' expected.
L115: export class Network {
L116: static use(network: Network): void;
L117: static usePublicNetwork(): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 116
';' expected.
L115: export class Network {
L116: static use(network: Network): void;
L117: static usePublicNetwork(): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 384
';' expected.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 384
Property or signature expected.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 384
Declaration or statement expected.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 384
';' expected.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 385
';' expected.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
L386: export type Operation =
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 385
Declaration or statement expected.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
L386: export type Operation =
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 385
';' expected.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
L386: export type Operation =
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 386
';' expected.
L386: export type Operation =
L387: Operation.CreateAccount
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 386
Declaration or statement expected.
L386: export type Operation =
L387: Operation.CreateAccount
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 386
';' expected.
L386: export type Operation =
L387: Operation.CreateAccount
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 397
Declaration or statement expected.
L396: | Operation.Inflation
L397: | Operation.ManageData
L398: | Operation.BumpSequence
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 487
';' expected.
L487: interface Flags {
L488: auth_required: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 488
';' expected.
L487: interface Flags {
L488: auth_required: boolean;
L489: auth_revocable: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 488
'(' expected.
L487: interface Flags {
L488: auth_required: boolean;
L489: auth_revocable: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 489
')' expected.
L488: auth_required: boolean;
L489: auth_revocable: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 113
Duplicate identifier 'MemoType'.
L112: TESTNET = 'Kin Testnet ; December 2018',
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 113
'string' only refers to a type, but is being used as a value here.
L112: TESTNET = 'Kin Testnet ; December 2018',
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 114
Duplicate identifier 'T'.
L115: export class Network {
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 114
Duplicate identifier 'MemoType'.
L115: export class Network {
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 114
'string' only refers to a type, but is being used as a value here.
L115: export class Network {
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 114
The right-hand side of an arithmetic operation must be of type 'any', 'number'or an enum type.
L115: export class Network {
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 115
Duplicate identifier 'T'.
L115: export class Network {
L116: static use(network: Network): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 115
Duplicate identifier 'MemoType'.
L115: export class Network {
L116: static use(network: Network): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 116
Duplicate identifier 'T'.
L115: export class Network {
L116: static use(network: Network): void;
L117: static usePublicNetwork(): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 116
Duplicate identifier 'MemoType'.
L115: export class Network {
L116: static use(network: Network): void;
L117: static usePublicNetwork(): void;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 384
Unused label.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 384
'any' only refers to a type, but is being used as a value here.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 384
Cannot use namespace 'Signer' as a value.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 385
Cannot find name 'T'.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
L386: export type Operation =
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 385
Unused label.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
L386: export type Operation =
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 385
'any' only refers to a type, but is being used as a value here.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
L386: export type Operation =
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 385
Cannot use namespace 'Signer' as a value.
L384: function fromXDRObject<T extends Operation = Operation>(xdrOperation: xdr.Operation<T>): T;
L386: export type Operation =
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 386
Cannot find name 'T'.
L386: export type Operation =
L387: Operation.CreateAccount
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 386
Unused label.
L386: export type Operation =
L387: Operation.CreateAccount
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 386
'any' only refers to a type, but is being used as a value here.
L386: export type Operation =
L387: Operation.CreateAccount
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 386
Cannot use namespace 'Signer' as a value.
L386: export type Operation =
L387: Operation.CreateAccount
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 387
'never' only refers to a type, but is being used as a value here.
L386: export type Operation =
L387: Operation.CreateAccount
L388: | Operation.Payment
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 389
Cannot find name 'SetOptions'.
L388: | Operation.Payment
L389: | Operation.PathPayment
L390: | Operation.CreatePassiveOffer
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 391
Cannot find name 'BaseOperation'.
L390: | Operation.CreatePassiveOffer
L391: | Operation.ManageOffer
L392: | Operation.SetOptions
[11:25:25] typescript: node_modules/@kinecosystem/kin-base/types/index.d.ts, line: 410
Namespace
'"/Users/asghaier/Documents/piggybank/kiddoKinparent/node_modules/@kinecosystem/kin-base/types/index".Operation'
has no exported member 'BumpSequence'.
L410: function encodePreAuthTx(data: Buffer): string;
L411: function decodePreAuthTx(data: string): Buffer;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 55
Type 'T' cannot be used to index type '{ [P in T]: P; } & { [P in U]: never; }& { [x: string]: never; }'.
L54: export namespace Config {
L55: function setAllowHttp(allow: boolean): void;
L56: function isAllowHttp(): boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 55
Type 'T' is not assignable to type 'string'. Type 'PropertyKey' is not assignable to type 'string'. Type
'number' is not assignable to type 'string'.
L54: export namespace Config {
L55: function setAllowHttp(allow: boolean): void;
L56: function isAllowHttp(): boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 55
Type 'U' is not assignable to type 'string'. Type 'PropertyKey' is not assignable to type 'string'. Type
'number' is not assignable to type 'string'.
L54: export namespace Config {
L55: function setAllowHttp(allow: boolean): void;
L56: function isAllowHttp(): boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 487
Cannot use namespace 'AssetType' as a value.
L487: interface Flags {
L488: auth_required: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 487
'BalanceLineNative' only refers to a type, but is being used as a value here.
L487: interface Flags {
L488: auth_required: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 488
Cannot find name 'T'.
L487: interface Flags {
L488: auth_required: boolean;
L489: auth_revocable: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 488
Cannot use namespace 'AssetType' as a value.
L487: interface Flags {
L488: auth_required: boolean;
L489: auth_revocable: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 488
Cannot use namespace 'AssetType' as a value.
L487: interface Flags {
L488: auth_required: boolean;
L489: auth_revocable: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 488
'BalanceLineAsset' only refers to a type, but is being used as a value here.
L487: interface Flags {
L488: auth_required: boolean;
L489: auth_revocable: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 488
Cannot find name 'T'.
L487: interface Flags {
L488: auth_required: boolean;
L489: auth_revocable: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 489
'BalanceLineNative' only refers to a type, but is being used as a value here.
L488: auth_required: boolean;
L489: auth_revocable: boolean;
[11:25:25] typescript: node_modules/@kinecosystem/kin-sdk/types/index.d.ts, line: 489
'BalanceLineAsset' only refers to a type, but is being used as a value here.
L488: auth_required: boolean;
L489: auth_revocable: boolean;