@toon-protocol/core 3.4.0 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { I as InvalidEventError, P as PeerDiscoveryError, a as ToonDecodeError,
3
3
  import { NostrEvent, Event } from 'nostr-tools/pure';
4
4
  import { SimplePool } from 'nostr-tools/pool';
5
5
  import { TurboAuthenticatedClient } from '@ardrive/turbo-sdk';
6
- export { balanceProofFieldsMina, balanceProofHashEvm, balanceProofHashSolana, bigintToBytes32BE, concatBytes, coopCloseHashEvm, eip712DomainSeparatorEvm, hexToBytes, minaHashToField } from '@toon-protocol/settlement-digest';
6
+ export { SOLANA_BALANCE_PROOF_MESSAGE_SIZE, balanceProofFieldsMina, balanceProofHashEvm, balanceProofHashSolana, balanceProofMessageSolana, bigintToBytes32BE, concatBytes, coopCloseHashEvm, eip712DomainSeparatorEvm, hexToBytes, minaHashToField } from '@toon-protocol/settlement-digest';
7
7
 
8
8
  /**
9
9
  * Nostr event kind constants for ILP-related events.
package/dist/index.js CHANGED
@@ -2260,16 +2260,10 @@ var NostrPeerDiscovery = class {
2260
2260
  // src/discovery/genesis-peers.json
2261
2261
  var genesis_peers_default = [
2262
2262
  {
2263
- pubkey: "30fdd01d55c3efeb4c19c2cbeda8247cbc40ae9b15c026e9a301a263001fa7a9",
2264
- relayUrl: "wss://relay-ws.devnet.toonprotocol.dev",
2263
+ pubkey: "915d29908235be4b53f8f23cd7ac72c88c99be3bcca876dadf5c1a449433b8f9",
2264
+ relayUrl: "wss://relay.toonprotocol.dev",
2265
2265
  ilpAddress: "g.toon.relay",
2266
- btpEndpoint: "wss://proxy.relay.devnet.toonprotocol.dev/ilp/btp"
2267
- },
2268
- {
2269
- pubkey: "499cdd71c7c3eab8d9b35f88ec9cde29018461e4bef86389004abcd7cfa1108a",
2270
- relayUrl: "wss://relay-ws.devnet.toonprotocol.dev",
2271
- ilpAddress: "g.toon.ario",
2272
- btpEndpoint: "wss://proxy.ario.devnet.toonprotocol.dev/ilp/btp"
2266
+ btpEndpoint: "wss://toonprotocol.dev/ilp/btp"
2273
2267
  }
2274
2268
  ];
2275
2269
 
@@ -2987,6 +2981,8 @@ import {
2987
2981
  eip712DomainSeparatorEvm,
2988
2982
  balanceProofHashEvm,
2989
2983
  coopCloseHashEvm,
2984
+ balanceProofMessageSolana,
2985
+ SOLANA_BALANCE_PROOF_MESSAGE_SIZE,
2990
2986
  balanceProofHashSolana,
2991
2987
  minaHashToField,
2992
2988
  balanceProofFieldsMina
@@ -5577,6 +5573,7 @@ export {
5577
5573
  ReputationScoreCalculator,
5578
5574
  SEED_RELAY_LIST_KIND,
5579
5575
  SERVICE_DISCOVERY_KIND,
5576
+ SOLANA_BALANCE_PROOF_MESSAGE_SIZE,
5580
5577
  SOLANA_CHAIN_PRESETS,
5581
5578
  SeedRelayDiscovery,
5582
5579
  SocialPeerDiscovery,
@@ -5600,6 +5597,7 @@ export {
5600
5597
  balanceProofFieldsMina,
5601
5598
  balanceProofHashEvm,
5602
5599
  balanceProofHashSolana,
5600
+ balanceProofMessageSolana,
5603
5601
  base58Decode,
5604
5602
  base58Encode,
5605
5603
  bigintToBytes32BE,