mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-04-22 04:27:56 +00:00
fix: update pezkuwi mainnet genesis hash and remove npm token from repo
- Update genesis hash to mainnet value - Remove npmAuthToken from .yarnrc.yml (use GitHub Secrets instead) - Add pezsp_* and pezframe_* path support in PortableRegistry
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
],
|
||||
"type": "module",
|
||||
"types": "./index.d.ts",
|
||||
"version": "16.5.9",
|
||||
"version": "16.5.11",
|
||||
"main": "./cjs/index.js",
|
||||
"module": "./index.js",
|
||||
"exports": {
|
||||
|
||||
@@ -7,10 +7,10 @@ import fs from 'node:fs';
|
||||
|
||||
import { toPromiseMethod } from '@pezkuwi/api';
|
||||
|
||||
import v0contractFlipper from '../test/contracts/ink/v0/flipper.contract.json' assert { type: 'json' };
|
||||
import v0abiFlipper from '../test/contracts/ink/v0/flipper.json' assert { type: 'json' };
|
||||
import v1contractFlipper from '../test/contracts/ink/v1/flipper.contract.json' assert { type: 'json' };
|
||||
import v6contractErc20 from '../test/contracts/ink/v6/erc20.contract.json' assert { type: 'json' };
|
||||
import v0contractFlipper from '../test/contracts/ink/v0/flipper.contract.json' with { type: 'json' };
|
||||
import v0abiFlipper from '../test/contracts/ink/v0/flipper.json' with { type: 'json' };
|
||||
import v1contractFlipper from '../test/contracts/ink/v1/flipper.contract.json' with { type: 'json' };
|
||||
import v6contractErc20 from '../test/contracts/ink/v6/erc20.contract.json' with { type: 'json' };
|
||||
import { Code } from './Code.js';
|
||||
import { mockApi, mockReviveApi } from './mock.js';
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import { ApiPromise } from '@pezkuwi/api';
|
||||
import { BlueprintPromise, ContractPromise } from '@pezkuwi/api-contract';
|
||||
import { createTestPairs } from '@pezkuwi/keyring/testingPairs';
|
||||
|
||||
import abiIncrementer from './test/contracts/ink/v0/incrementer.json' assert { type: 'json' };
|
||||
import abiIncrementer from './test/contracts/ink/v0/incrementer.json' with { type: 'json' };
|
||||
|
||||
async function checkBlueprint (api: ApiPromise, pairs: TestKeyringMapBizinikiwi): Promise<void> {
|
||||
const blueprint = new BlueprintPromise(api, abiIncrementer as Record<string, unknown>, '0x1234');
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
|
||||
export const packageInfo = { name: '@pezkuwi/api-contract', path: 'auto', type: 'auto', version: '16.5.9' };
|
||||
export const packageInfo = { name: '@pezkuwi/api-contract', path: 'auto', type: 'auto', version: '16.5.11' };
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as delegator } from './delegator.json' assert { type: 'json' };
|
||||
export { default as dns } from './dns.json' assert { type: 'json' };
|
||||
export { default as erc20 } from './erc20.json' assert { type: 'json' };
|
||||
export { default as erc721 } from './erc721.json' assert { type: 'json' };
|
||||
export { default as flipperBundle } from './flipper.contract.json' assert { type: 'json' };
|
||||
export { default as flipper } from './flipper.json' assert { type: 'json' };
|
||||
export { default as incrementer } from './incrementer.json' assert { type: 'json' };
|
||||
export { default as multisigPlain } from './multisig_plain.json' assert { type: 'json' };
|
||||
export { default as delegator } from './delegator.json' with { type: 'json' };
|
||||
export { default as dns } from './dns.json' with { type: 'json' };
|
||||
export { default as erc20 } from './erc20.json' with { type: 'json' };
|
||||
export { default as erc721 } from './erc721.json' with { type: 'json' };
|
||||
export { default as flipperBundle } from './flipper.contract.json' with { type: 'json' };
|
||||
export { default as flipper } from './flipper.json' with { type: 'json' };
|
||||
export { default as incrementer } from './incrementer.json' with { type: 'json' };
|
||||
export { default as multisigPlain } from './multisig_plain.json' with { type: 'json' };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as flipper } from './flipper.contract.json' assert { type: 'json' };
|
||||
export { default as flipper } from './flipper.contract.json' with { type: 'json' };
|
||||
// A complex contract example with traits.
|
||||
export { default as psp22 } from './psp22_minter_pauser.contract.json' assert { type: 'json' };
|
||||
export { default as psp22 } from './psp22_minter_pauser.contract.json' with { type: 'json' };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as erc20 } from './erc20.contract.json' assert { type: 'json' };
|
||||
export { default as flipper } from './flipper.contract.json' assert { type: 'json' };
|
||||
export { default as erc20 } from './erc20.contract.json' with { type: 'json' };
|
||||
export { default as flipper } from './flipper.contract.json' with { type: 'json' };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as flipper } from './flipper.contract.json' assert { type: 'json' };
|
||||
export { default as flipper } from './flipper.contract.json' with { type: 'json' };
|
||||
// A complex contract example with traits.
|
||||
export { default as traitErc20 } from './trait_erc20.contract.json' assert { type: 'json' };
|
||||
export { default as traitErc20 } from './trait_erc20.contract.json' with { type: 'json' };
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' };
|
||||
export { default as erc20Metadata } from './erc20.json' assert { type: 'json' };
|
||||
export { default as flipperContract } from './flipper.contract.json' assert { type: 'json' };
|
||||
export { default as flipperMetadata } from './flipper.json' assert { type: 'json' };
|
||||
export { default as erc20Contract } from './erc20.contract.json' with { type: 'json' };
|
||||
export { default as erc20Metadata } from './erc20.json' with { type: 'json' };
|
||||
export { default as flipperContract } from './flipper.contract.json' with { type: 'json' };
|
||||
export { default as flipperMetadata } from './flipper.json' with { type: 'json' };
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' };
|
||||
export { default as erc20Metadata } from './erc20.json' assert { type: 'json' };
|
||||
export { default as erc20AnonymousTransferMetadata } from './erc20_anonymous_transfer.json' assert { type: 'json' };
|
||||
export { default as flipperContract } from './flipper.contract.json' assert { type: 'json' };
|
||||
export { default as flipperMetadata } from './flipper.json' assert { type: 'json' };
|
||||
export { default as erc20Contract } from './erc20.contract.json' with { type: 'json' };
|
||||
export { default as erc20Metadata } from './erc20.json' with { type: 'json' };
|
||||
export { default as erc20AnonymousTransferMetadata } from './erc20_anonymous_transfer.json' with { type: 'json' };
|
||||
export { default as flipperContract } from './flipper.contract.json' with { type: 'json' };
|
||||
export { default as flipperMetadata } from './flipper.json' with { type: 'json' };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' };
|
||||
export { default as erc20Metadata } from './erc20.json' assert { type: 'json' };
|
||||
export { default as erc20Contract } from './erc20.contract.json' with { type: 'json' };
|
||||
export { default as erc20Metadata } from './erc20.json' with { type: 'json' };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as ints256 } from './ints256.json' assert { type: 'json' };
|
||||
export { default as ints256 } from './ints256.json' with { type: 'json' };
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as assetTransfer } from './assetTransfer.json' assert { type: 'json' };
|
||||
export { default as enumExample } from './enumExample.json' assert { type: 'json' };
|
||||
export { default as recursive } from './recursive.contract.json' assert { type: 'json' };
|
||||
export { default as withString } from './withString.json' assert { type: 'json' };
|
||||
export { default as assetTransfer } from './assetTransfer.json' with { type: 'json' };
|
||||
export { default as enumExample } from './enumExample.json' with { type: 'json' };
|
||||
export { default as recursive } from './recursive.contract.json' with { type: 'json' };
|
||||
export { default as withString } from './withString.json' with { type: 'json' };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as ask } from './ask.json' assert { type: 'json' };
|
||||
export { default as ask } from './ask.json' with { type: 'json' };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as events } from './events.contract.json' assert { type: 'json' };
|
||||
export { default as events } from './events.contract.json' with { type: 'json' };
|
||||
|
||||
Reference in New Issue
Block a user