@molpha/sdk 0.2.0-dev-20261011124853 → 0.2.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
@@ -6,16 +6,16 @@ import BN from 'bn.js';
6
6
 
7
7
  /**
8
8
  * GENERATED by `scripts/select-profile.ts` — do not edit.
9
- * Profile: dev
10
- * EVM/Starknet verifier addresses are unset until the Attestation-interface redeploy. Codegen falls back to stable addresses and sets MOLPHA_DEV_VERIFIERS_PROVISIONAL.
9
+ * Profile: stable
11
10
  */
12
- declare const MOLPHA_SDK_PROFILE: "dev";
13
- declare const DEFAULT_GATEWAY_ENDPOINT = "https://dev-gateway.molpha.io/";
14
- declare const MOLPHA_PROGRAM_ID = "chivcFQgxzwkpLvW41PV431HQ4dYpaW3povQH3AdpQt";
11
+ type MolphaSdkProfile = "stable" | "dev";
12
+ declare const MOLPHA_SDK_PROFILE: MolphaSdkProfile;
13
+ declare const DEFAULT_GATEWAY_ENDPOINT = "https://gateway.molpha.io/";
14
+ declare const MOLPHA_PROGRAM_ID = "MoLF3pgVA9MENSuEujxNNSMaTo71aLyewaH5nrWfUZs";
15
15
  declare const MOLPHA_VERIFIER_ADDRESS: "0xA6e49A3A1caf3E110cC04765B934C8FF118C2568";
16
16
  declare const MOLPHA_VERIFIER_STARKNET_SEPOLIA: "0x032b9f47f12189668b94a5d62fb7d60f968ed0dbaf22090649d1d7a91d79cc38";
17
17
  /** True when the active profile has unset EVM/Starknet addresses (dev falls back to stable). */
18
- declare const MOLPHA_DEV_VERIFIERS_PROVISIONAL: true;
18
+ declare const MOLPHA_DEV_VERIFIERS_PROVISIONAL: false;
19
19
 
20
20
  /**
21
21
  * Gateway on-chain identity. The request-auth hash binds the Gateway PDA
package/dist/index.js CHANGED
@@ -202,12 +202,12 @@ function deriveSourceIdString(apiConfig) {
202
202
  }
203
203
 
204
204
  // src/deployment.generated.ts
205
- var MOLPHA_SDK_PROFILE = "dev";
206
- var DEFAULT_GATEWAY_ENDPOINT = "https://dev-gateway.molpha.io/";
207
- var MOLPHA_PROGRAM_ID = "chivcFQgxzwkpLvW41PV431HQ4dYpaW3povQH3AdpQt";
205
+ var MOLPHA_SDK_PROFILE = "stable";
206
+ var DEFAULT_GATEWAY_ENDPOINT = "https://gateway.molpha.io/";
207
+ var MOLPHA_PROGRAM_ID = "MoLF3pgVA9MENSuEujxNNSMaTo71aLyewaH5nrWfUZs";
208
208
  var MOLPHA_VERIFIER_ADDRESS = "0xA6e49A3A1caf3E110cC04765B934C8FF118C2568";
209
209
  var MOLPHA_VERIFIER_STARKNET_SEPOLIA = "0x032b9f47f12189668b94a5d62fb7d60f968ed0dbaf22090649d1d7a91d79cc38";
210
- var MOLPHA_DEV_VERIFIERS_PROVISIONAL = true;
210
+ var MOLPHA_DEV_VERIFIERS_PROVISIONAL = false;
211
211
 
212
212
  // src/core/int256.ts
213
213
  var INT256_MAX = (1n << 255n) - 1n;
@@ -1609,7 +1609,7 @@ function feedPda(sourceId, signaturesRequired, submitter, programId) {
1609
1609
 
1610
1610
  // idl/molpha.json
1611
1611
  var molpha_default = {
1612
- address: "chivcFQgxzwkpLvW41PV431HQ4dYpaW3povQH3AdpQt",
1612
+ address: "MoLF3pgVA9MENSuEujxNNSMaTo71aLyewaH5nrWfUZs",
1613
1613
  metadata: {
1614
1614
  name: "molpha",
1615
1615
  version: "0.1.0",
@@ -3078,7 +3078,7 @@ var molpha_default = {
3078
3078
  docs: [
3079
3079
  "This program. Its account names the ProgramData account holding the upgrade authority."
3080
3080
  ],
3081
- address: "chivcFQgxzwkpLvW41PV431HQ4dYpaW3povQH3AdpQt"
3081
+ address: "MoLF3pgVA9MENSuEujxNNSMaTo71aLyewaH5nrWfUZs"
3082
3082
  },
3083
3083
  {
3084
3084
  name: "program_data"