メインコンテンツへスキップ

OCAP-JS 変更履歴

ArcBlock
ArcBlockBlockletDeveloperOCAP

OCAP-JS は OCAP(Open Chain Access Protocol)の Javascript SDK です。ArcBlock のブロックチェーンアプリケーション開発フレームワークの一つとして、現在はアセットチェーンとその SDK を担い、2020年12月23日のバージョン 0.5.0 から 1.8.22 まで更新されています。

OCAP-JS の更新

ArcBlock は、新機能と更新を含む OCAP-JS バージョン 1.8.22 の最新変更履歴を公開しました。

1.8.22 (April 07, 2021)

  • feat: nft endpoints in node/blocklet nft を追加
  • chore: useless logic を整理
  • feat: create and verify status list vc をサポート
  • chore: nft endpoint spec を追加

1.8.21 (April 06, 2021)

  • chore: more integration test for exchange を追加
  • fix: improve declare and migrate verify-info error を修正
  • fix: improve transfer verify-info pipe error message を修正
  • fix: exchange signer extracting is buggy を修正
  • fix: ensure account.tokens to be an array for getXState するよう修正 を修正

1.8.20 (April 06, 2021)

  • fix: delegated exchange を修正

1.8.19 (April 05, 2021)

  • chore: delegated exchange e2e test case を追加
  • fix: test case for delegated acquire_asset を修正
  • fix: memory example test case config を修正
  • chore: useless methods on ocap client を整理
  • chore: doc for mysterious delegator issue を追加
  • fix: delegated acquire_asset not setting owner correctly を修正

1.8.18 (April 02, 2021)

  • chore: e2e test case for delegate を更新
  • fix: delegated transfer example を修正
  • fix: format delegation error を修正

1.8.17 (April 01, 2021)

  • chore: reindex script を改善
  • chore: refactor asset-chain api code and add indexer script
  • chore: indexer from resolver to indexdb lib を移動
  • chore: indexdb migration script を名称変更

1.8.16 (March 31, 2021)

  • chore: e2e test case for delegated acquire_asset を追加
  • chore: shorthand methods to acquire/mint asset を使用
  • feat: delegation in acquire_asset_v2 をサポート
  • feat: prepareAcquireAsset and acquireAsset on client を追加
  • feat: delegation for v2 protocols in config を有効化

1.8.15 (March 30, 2021)

  • fix: much better graphql response error handling を修正

1.8.14 (March 30, 2021)

  • fix: throw if tx is null when expanding context txs しないよう修正 を修正

1.8.13 (March 29, 2021)

  • fix: test case in asset-nft package を修正
  • feat: getAccountTokens support get by account and token

1.8.12 (March 25, 2021)

  • chore: sdk-util to latest version を更新
  • fix: did-auth handler not handling incorrect events を修正

1.8.11 (March 25, 2021)

  • feat: nft templates to nft package を移動

1.8.10 (March 25, 2021)

  • fix(indexdb): should parse datetime correctly for timeFilter
  • chore: test case for transfer and exchange v2 を追加
  • feat(protocol): support list of factories for factory input
  • fix(security): verify token list size for factory
  • fix(security): limit max tokens that can be transfered and exchanged
  • fix: no name@version logged in ci を修正

1.8.9 (March 24, 2021)

  • fix: allow create assets from factory しないよう修正 を修正

1.8.8 (March 24, 2021)

  • feat: tokenSymbols in tx state をサポート

1.8.7 (March 24, 2021)

  • ci: ci を修正

1.8.6 (March 24, 2021)

  • feat: fs-chain-api blocklet を追加
  • feat: asset-chain-api blocklet を追加
  • feat: block-explorer with asset-chain を統合
  • feat: block-explorer with chain-manager を統合

1.8.4 (March 24, 2021)

  • fix: indexdb test case を修正
  • feat: indexing tokenSymbols for transaction をサポート
  • feat: getAccountTokens api をサポート
  • fix: throw proper error when getXState with empty param を修正
  • chore: custom error to util を移動
  • fix: p2pAddress compiled to p2PAddress を修正

1.8.3 (March 24, 2021)

  • fix: enrich context transactions when get state するよう修正 を修正

1.8.2 (March 24, 2021)

  • feat: failed transaction into statedb を永続化
  • fix: graphql client can throw errors as expected を修正
  • chore: status-code file を削除
  • fix: revert PagingInput => PageInputInput to make things compatible を修正

1.8.1 (March 23, 2021)

  • fix: asset-chain blocklet should listen when ready を修正

1.8.0 (March 23, 2021)

  • fix: indexdb test case を修正
  • fix: listTopAccounts not working for fs/memory indexdb を修正
  • fix: listTopAccounts not working for elasticsearch indexdb を修正
  • fix: set correct paging when do fast return on indexdb するよう修正 を修正
  • fix: set correct paging when do fast return on indexdb するよう修正 を修正
  • feat: list assets by factory address をサポート
  • chore: e2e test pass for qldb and elasticsearch を確認
  • fix: test case for qldb を修正
  • fix: asset factory not correctly indexed in elasticsearch を修正
  • fix: token index should include faucetSupply field を修正
  • fix: set proper timeout for e2e tests するよう修正 を修正
  • fix: index mint/acquire with factory するよう修正 を修正
  • fix: acquire asset not working with qldb as expected を修正

1.7.10 (March 23, 2021)

  • fix: consensus version should be same for getNodeInfo and getChainInfo を修正
  • fix: qldb statedb not ready as expected を修正
  • [skip ci] update readme

1.7.9 (March 23, 2021)

  • fix: missing and invalid eum def in proto を修正
  • [skip ci] update readme

1.7.8 (March 23, 2021)

  • feat: nft template lib here を追加
  • fix: rename npm scripts を修正
  • fix: createToken api not working properly を修正

1.7.7 (March 22, 2021)

  • feat: create token with faucet supply をサポート
  • feat: faucet with tokens をサポート

1.7.6 (March 22, 2021)

  • fix: make e2e test case pass を修正
  • fix: make all version of transfer and exchange protocols work を修正
  • feat: all new transactions as v2 をマーク
  • feat: v2 transactions in config をサポート
  • chore: make all tx protocols back compatible

1.7.5 (March 22, 2021)

  • fix: listFactories data not properyly formatted #86 を修正

1.7.4 (March 21, 2021)

  • fix: blocklet bundle should enable --monorepo flag を修正

1.7.3 (March 20, 2021)

  • chore: e2e test case to cover duplication merge を更新
  • feat: duplicate contract calls before saving to statedb を統合
  • feat: getQuota when validate hook contract をサポート
  • chore: already resolved fixme を削除
  • fix: always use sha3-256 to produce v1.1 jwt token を修正
  • feat: e2e test for instant asset acquiring and minting を追加
  • fix: asset minting now works in e2e test を修正
  • fix: use lokijs to backup memory statedb を修正
  • fix: do not expose statedb from context to inner pipelines を修正
  • feat: test case for instant settlement when acquire-asset を追加
  • chore: index accounts field
  • feat: instant settlement on acquire-asset をサポート
  • fix: check transfer amount in contract dsl するよう修正 を修正
  • feat: factory hook contract compile when creating factory を追加
  • feat: factory hook validation when creating factory を追加
  • chore: .env file creation script を追加
  • feat: contract source compile and validate logic を完成
  • chore: test case for toTokenAddress を追加
  • feat: skeleton for contract dsl を追加
  • chore: sdk docs を再構築

1.7.2 (March 18, 2021)

  • fix: use jwt v1.1 for newer native wallet するよう修正 を修正
  • fix: disable netlify build trigger on publish を修正

1.7.1 (March 17, 2021)

  • fix: asset-chain blocklet is not starting を修正

1.7.0 (March 17, 2021)

  • fix: hash jwt message before sign for 1.1 を修正
  • fix: fromAppdid should return privateKey as hex を修正
  • chore: e2e test run command for all examples を追加
  • fix: test case for factory state and add for token state を修正
  • fix: indexdb testsuite failure because api result change を修正
  • chore: test case for new tx protocol (#81) を改善
  • feat: new factory related indexdb api (#78) を追加
  • fix bn.js dep bug in @core/util
  • chore: review updates for create-token-tx (#76)
  • fix: es indexdb base static method call を修正
  • chore: merge with create-token-tx branch
  • fix: duplicate dependency in @ocap client を修正
  • feat: asset factory in elasticsearch indexb をサポート
  • fix: properly index assets field for acquire/mint asset するよう修正 を修正
  • feat: asset factory in fs/memory indexb をサポート
  • feat: asset factory in indexb をサポート
  • feat: description field in factory input variable を追加
  • feat: gql api for fs & memory db を追加
  • fix: sort bug in elasticsearch indexdb を修正
  • feat: tokens query filter to listTopAccounts を追加
  • feat: getAssetFactoryState gql api を追加
  • fix: tx receiver get fn を修正
  • fix: tx protocols test case を修正
  • chore: protobuf files を整理
  • fix: ocap asset package version を修正
  • feat: mint_asset and its tests をサポート
  • chore: mint_asset in defaut chain config を有効化
  • chore: extract acquire logic to pipe
  • chore: test case for acquire_asset tx を改善
  • listTokens api を追加
  • chore: basic test case for acquire_asset を追加
  • chore: acquire_asset in defaut chain config を有効化
  • getTokensInfo api and remove decimal attribute を削除
  • feat: 基本的な acquire_asset workflow
  • feat: last settlement for factory state を追加
  • chore: asset proto comments を改善
  • chore: test case for asset mint を追加
  • chore: dependency on asset lib in protocols を追加
  • chore: asset lib api を改善
  • chore: yarn.lock を更新
  • Merge branch 'master' into feat-asset-factory
  • feat: factory related to standalone package を移動
  • feat: elastic support を追加
  • feat: qldb support を追加
  • feat: 基本的な client side asset mint workflow
  • chore: asset factory data structure を改善
  • chore: raw asset factory mint flow
  • feat: exchange tokens tx を追加
  • feat: array when do nested any decoding をサポート
  • chore: asset factory error codes を改善
  • feat: getTokensInfo graphql interface を追加
  • feat: transfer tokens を追加
  • feat: consistent input structure for factory input
  • feat: update factory state when asset updated をサポート
  • feat: asset factory validating when creating をサポート
  • feat: asset factory validation logic を追加
  • feat: customize table when extract state をサポート
  • feat: saving factory state on create asset をサポート
  • fix: decodeAny should leave data untouched if already decoded を修正
  • refactor: the time of emit statedb events を変更
  • feat: asset factory creating process を追加
  • feat: decode nested data when decodeAnySafe をサポート
  • feat: create_token_tx を追加
  • fix: remove enums and use strings instead を修正
  • fix: missing export for factory state を修正
  • chore: factory table in statedb を追加
  • chore: factory state を追加
  • chore: asset factory state を改善
  • feat: create_token_tx proto を追加
  • chore: new proto in schema and client を使用
  • chore: proto for new asset protocols を追加

1.6.5 (March 15, 2021)

  • fix: use int in gql schema #70 しないよう修正 を修正

1.6.4 (March 12, 2021)

  • fix: not handling base16 addresses correctly を修正
  • fix: did-auth jwt should work with ethereum types を修正
  • fix: ethereum did check should tolerance prefix を修正

1.6.3 (March 10, 2021)

  • chore: latest verify-updater pipe in tx protocol を使用
  • feat: more flexible updater verify for asset をサポート
  • fix: build issue caused by sed/gsed を修正

1.6.2 (March 10, 2021)

  • fix: verify-signature pipe should handle delegation as expected を修正
  • chore: ethereum related test case in protocols を追加
  • chore: ethereum test case in ocap client を追加
  • fix: use bn for balance verification するよう修正 を修正

1.6.1 (March 09, 2021)

  • ocap/did/nft sdk を追加

0.6.13 (February 25, 2021)

  • fix: return cursor as 0 when no next page するよう修正 を修正

0.6.12 (February 25, 2021)

  • fix: rename es index and polish mapping を修正
  • fix: disable dynamic index mapping to avoid unexpected bugs を修正
  • chore: pretty print to get smaller log を無効化

0.6.11 (February 25, 2021)

  • fix: include asset.data in listAssets to avoid breaking wallets を修正

0.6.10 (February 25, 2021)

  • fix: asset-chain transaction config for poke を修正
  • fix: getForgeState should set txConfig.declare.cost to 0 を修正
  • fix: ocap config schema should include declare related を修正

0.6.9 (February 24, 2021)

  • fix: disable graphql query validation to fix listTransactions api を修正

0.6.8 (February 24, 2021)

  • fix: gql result creator should handle empty result properly を修正

0.6.7 (February 24, 2021)

  • fix: format data error in resolver を修正

0.6.6 (February 23, 2021)

  • fix: ocap config caused crash in production build を修正

0.6.5 (February 23, 2021)

  • fix: blocklet deployment env を修正

0.6.4 (February 23, 2021)

  • chore: merge blocklet publish and deploy job

0.6.3 (February 23, 2021)

  • chore: refactor github workflow scripts

0.6.2 (February 23, 2021)

  • feat: asset-chain deploy script を追加
  • feat: bump blocklet version
  • fix: change blocklet version to 0.6.1 を修正

0.6.1 (February 23, 2021)

  • feat: common test suites for indexdb table を追加

0.6.0 (February 23, 2021)

  • feat: polish coverage for indexdb
  • feat: qldb indexdb interface を追加
  • feat: elasticsearch indexdb interface を追加
  • feat: fs and memory indexdb interface を追加
  • feat: fs and memory statedb interface を追加
  • feat: interface interface を追加
  • feat: statedb interface を追加
  • feat: state implementations を追加
  • feat: forge-compatible gql resolvers を追加
  • feat: forge-compatible gql package を追加
  • feat: forge-compatible tx protocol implementations を追加
  • feat: forge-compatible tx pipeline implementations を追加
  • chore: make repo dependencies and dev workflow up-to-date

0.5.4 (December 31, 2020)

  • chore: forge sdk version を更新

0.5.3 (December 30, 2020)

  • chore: forge sdk version を更新

0.5.2 (December 28, 2020)

  • chore: forge sdk version を更新

0.5.1 (December 23, 2020)

  • chore: forge sdk version を更新

0.5.0 (December 23, 2020)

  • chore: forge sdk version を更新

ArcBlock プラットフォーム

  • 最新バージョンと更新情報は https://www.arcblock.io/en/platform でご確認ください。わずか数ステップで利用を開始する方法も紹介しています。

このページに関わるもの

製品

  • OCAP active

    チェーンごとにクライアントを用意するのではなく、一つのインターフェースでチェーン上のデータを問い合わせるためのプロトコル。ArcBlock が関連特許を保有しています。

用語

  • Blocklet

    Blocklet は ARC の deployable unit です。アプリケーションが宣言する content、configuration、runtime の要件を一緒に保ち、実行する単位を理解し管理しやすくします。