Skip to content

@odatano/nightgate 0.30.1

Choose a tag to compare

@maxalexweber1 maxalexweber1 released this 01 Oct 22:11
· 61 commits to main since this release
7c33cb2

@odatano/nightgate 0.30.1

The offer board for a population of agents: reads by ID, status, and change; grants in one call; minting on the token factory; the builder on a lineage package. No schema change, no circuit change.

  • getSwapOffer(offerId): one offer, open or closed, in the board's shape.
  • listSwapOffers(status?, since?, mine?): closed offers by status (filled | retired | expired | all), changes after an instant, the caller's own posts; rows carry status, filledTxHash, closedAt, changedAt. Admin projection SwapOffers.
  • getBoardStatus() on the indexer service, anonymous: open offers, fills and swaps today, sponsors configured and ready.
  • createAgentGrants(count, sessionId, allowedActions, labels?, ...): up to 50 grants of one shape, tokens returned once.
  • mintFactoryToken(contractAddress, name, amount, recipientCoinPublicKey, sessionId): the session mints its own named tokens on a token-factory deployment; issuerKey, domain, tokenType in the result; grantable; the type is learned, also after a lost broadcast. LearnedTokenTypes capped at 256. Code TOKEN_FACTORY_UNAVAILABLE.
  • @odatano/nightgate-tx 0.10.1: createTxBuilder({ package }), ensureZkAssets({ package }), resolveBuilderPackage.

Full Changelog: v0.30.0...v0.30.1