@worldcoin/idkit-core 1.4.2 → 1.4.3

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.
@@ -24,11 +24,11 @@ declare enum VerificationLevel {
24
24
  type IDKitConfig = {
25
25
  /** Unique identifier for the app verifying the action. This should be the app ID obtained from the Developer Portal. */
26
26
  app_id: `app_${string}`;
27
- /** Identifier for the action the user is performing. Should be left blank for [Sign in with Worldcoin](https://docs.worldcoin.org/id/sign-in). */
27
+ /** Identifier for the action the user is performing. Should be left blank for [Sign in with Worldcoin](https://docs.world.org/id/sign-in). */
28
28
  action: AbiEncodedValue | string;
29
29
  /** The description of the specific action (shown to users in World App). Only recommended for actions created on-the-fly. */
30
30
  action_description?: string;
31
- /** Encodes data into a proof that must match when validating. Read more on the [On-chain section](https://docs.worldcoin.org/advanced/on-chain). */
31
+ /** Encodes data into a proof that must match when validating. Read more on the [On-chain section](https://docs.world.org/advanced/on-chain). */
32
32
  signal?: AbiEncodedValue | string;
33
33
  /** URL to a third-party bridge to use when connecting to the World App. Optional. */
34
34
  bridge_url?: string;
@@ -24,11 +24,11 @@ declare enum VerificationLevel {
24
24
  type IDKitConfig = {
25
25
  /** Unique identifier for the app verifying the action. This should be the app ID obtained from the Developer Portal. */
26
26
  app_id: `app_${string}`;
27
- /** Identifier for the action the user is performing. Should be left blank for [Sign in with Worldcoin](https://docs.worldcoin.org/id/sign-in). */
27
+ /** Identifier for the action the user is performing. Should be left blank for [Sign in with Worldcoin](https://docs.world.org/id/sign-in). */
28
28
  action: AbiEncodedValue | string;
29
29
  /** The description of the specific action (shown to users in World App). Only recommended for actions created on-the-fly. */
30
30
  action_description?: string;
31
- /** Encodes data into a proof that must match when validating. Read more on the [On-chain section](https://docs.worldcoin.org/advanced/on-chain). */
31
+ /** Encodes data into a proof that must match when validating. Read more on the [On-chain section](https://docs.world.org/advanced/on-chain). */
32
32
  signal?: AbiEncodedValue | string;
33
33
  /** URL to a third-party bridge to use when connecting to the World App. Optional. */
34
34
  bridge_url?: string;
package/build/index.cjs CHANGED
@@ -263,7 +263,7 @@ var useWorldBridgeStore = (0, import_zustand.create)((set, get) => ({
263
263
  requestId: request_id,
264
264
  bridge_url: bridge_url ?? DEFAULT_BRIDGE_URL,
265
265
  verificationState: "awaiting_connection" /* WaitingForConnection */,
266
- connectorURI: `https://worldcoin.org/verify?t=wld&i=${request_id}&k=${encodeURIComponent(
266
+ connectorURI: `https://world.org/verify?t=wld&i=${request_id}&k=${encodeURIComponent(
267
267
  await exportKey(key)
268
268
  )}${bridge_url && bridge_url !== DEFAULT_BRIDGE_URL ? `&b=${encodeURIComponent(bridge_url)}` : ""}${partner ? `&partner=${encodeURIComponent(true)}` : ""}`
269
269
  });
package/build/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { I as ISuccessResult, A as AppErrorCodes, V as VerificationState } from './result-dIv4wo8c.cjs';
2
- export { a as IErrorState } from './result-dIv4wo8c.cjs';
3
- import { I as IDKitConfig, V as VerificationLevel } from './config-DdATHXeA.cjs';
4
- export { A as AbiEncodedValue, C as CredentialType } from './config-DdATHXeA.cjs';
1
+ import { I as ISuccessResult, A as AppErrorCodes, V as VerificationState } from './result-BZ4QXOc2.cjs';
2
+ export { a as IErrorState } from './result-BZ4QXOc2.cjs';
3
+ import { I as IDKitConfig, V as VerificationLevel } from './config-fuwC_Hia.cjs';
4
+ export { A as AbiEncodedValue, C as CredentialType } from './config-fuwC_Hia.cjs';
5
5
  import * as zustand from 'zustand';
6
6
 
7
7
  type WorldBridgeStore = {
package/build/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { I as ISuccessResult, A as AppErrorCodes, V as VerificationState } from './result-CQHGruZD.js';
2
- export { a as IErrorState } from './result-CQHGruZD.js';
3
- import { I as IDKitConfig, V as VerificationLevel } from './config-DdATHXeA.js';
4
- export { A as AbiEncodedValue, C as CredentialType } from './config-DdATHXeA.js';
1
+ import { I as ISuccessResult, A as AppErrorCodes, V as VerificationState } from './result-CqgtArQe.js';
2
+ export { a as IErrorState } from './result-CqgtArQe.js';
3
+ import { I as IDKitConfig, V as VerificationLevel } from './config-fuwC_Hia.js';
4
+ export { A as AbiEncodedValue, C as CredentialType } from './config-fuwC_Hia.js';
5
5
  import * as zustand from 'zustand';
6
6
 
7
7
  type WorldBridgeStore = {
package/build/index.js CHANGED
@@ -199,7 +199,7 @@ var useWorldBridgeStore = create((set, get) => ({
199
199
  requestId: request_id,
200
200
  bridge_url: bridge_url ?? DEFAULT_BRIDGE_URL,
201
201
  verificationState: "awaiting_connection" /* WaitingForConnection */,
202
- connectorURI: `https://worldcoin.org/verify?t=wld&i=${request_id}&k=${encodeURIComponent(
202
+ connectorURI: `https://world.org/verify?t=wld&i=${request_id}&k=${encodeURIComponent(
203
203
  await exportKey(key)
204
204
  )}${bridge_url && bridge_url !== DEFAULT_BRIDGE_URL ? `&b=${encodeURIComponent(bridge_url)}` : ""}${partner ? `&partner=${encodeURIComponent(true)}` : ""}`
205
205
  });
@@ -1,5 +1,5 @@
1
- import { I as ISuccessResult } from '../result-dIv4wo8c.cjs';
2
- import '../config-DdATHXeA.cjs';
1
+ import { I as ISuccessResult } from '../result-BZ4QXOc2.cjs';
2
+ import '../config-fuwC_Hia.cjs';
3
3
 
4
4
  interface IVerifyResponse {
5
5
  success: boolean;
@@ -1,5 +1,5 @@
1
- import { I as ISuccessResult } from '../result-CQHGruZD.js';
2
- import '../config-DdATHXeA.js';
1
+ import { I as ISuccessResult } from '../result-CqgtArQe.js';
2
+ import '../config-fuwC_Hia.js';
3
3
 
4
4
  interface IVerifyResponse {
5
5
  success: boolean;
@@ -1,4 +1,4 @@
1
- import { A as AbiEncodedValue, I as IDKitConfig } from '../config-DdATHXeA.cjs';
1
+ import { A as AbiEncodedValue, I as IDKitConfig } from '../config-fuwC_Hia.cjs';
2
2
  import { Bytes } from 'ox';
3
3
 
4
4
  interface HashFunctionOutput {
@@ -1,4 +1,4 @@
1
- import { A as AbiEncodedValue, I as IDKitConfig } from '../config-DdATHXeA.js';
1
+ import { A as AbiEncodedValue, I as IDKitConfig } from '../config-fuwC_Hia.js';
2
2
  import { Bytes } from 'ox';
3
3
 
4
4
  interface HashFunctionOutput {
@@ -1,4 +1,4 @@
1
- import { V as VerificationLevel } from './config-DdATHXeA.cjs';
1
+ import { V as VerificationLevel } from './config-fuwC_Hia.cjs';
2
2
 
3
3
  declare enum AppErrorCodes {
4
4
  ConnectionFailed = "connection_failed",
@@ -1,4 +1,4 @@
1
- import { V as VerificationLevel } from './config-DdATHXeA.js';
1
+ import { V as VerificationLevel } from './config-fuwC_Hia.js';
2
2
 
3
3
  declare enum AppErrorCodes {
4
4
  ConnectionFailed = "connection_failed",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@worldcoin/idkit-core",
3
- "version": "1.4.2",
4
- "homepage": "https://docs.worldcoin.org/id/idkit",
3
+ "version": "1.4.3",
4
+ "homepage": "https://docs.world.org/id/idkit",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "description": "The identity SDK. Privacy-preserving identity and proof of personhood with World ID.",