@methodfi/opal-react 1.4.0 → 1.4.2

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
@@ -2,10 +2,11 @@ import { ReactNode } from 'react';
2
2
 
3
3
  type OpalEnvironment = 'local' | 'dev' | 'sandbox' | 'production';
4
4
  declare const OpalMode: {
5
+ readonly OPAL: "opal";
5
6
  readonly CONNECT: "connect";
6
7
  readonly CARD_CONNECT: "card_connect";
7
8
  readonly ACCOUNT_VERIFICATION: "account_verification";
8
- readonly IDENTITY: "identity";
9
+ readonly IDENTITY: "identity_verification";
9
10
  readonly TRANSACTIONS: "transactions";
10
11
  };
11
12
  type OpalMode = (typeof OpalMode)[keyof typeof OpalMode];
package/dist/index.js CHANGED
@@ -3,10 +3,11 @@ import React, { useState, createContext, useEffect, useRef, useCallback, useCont
3
3
 
4
4
  // Opal modes supported by the SDK
5
5
  const OpalMode = {
6
+ OPAL: 'opal',
6
7
  CONNECT: 'connect',
7
8
  CARD_CONNECT: 'card_connect',
8
9
  ACCOUNT_VERIFICATION: 'account_verification',
9
- IDENTITY: 'identity',
10
+ IDENTITY: 'identity_verification',
10
11
  TRANSACTIONS: 'transactions'
11
12
  };
12
13
  // Common Opal event types - supports card_connect and account_verification modes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@methodfi/opal-react",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "React SDK for Opal integration",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",