@oobit/react-native-sdk 1.0.3 → 1.0.4

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/config.d.ts CHANGED
@@ -2,13 +2,13 @@
2
2
  * Widget SDK Configuration
3
3
  * Environment-based configuration for the widget URL
4
4
  */
5
- import { WidgetEnvironment } from './types';
5
+ import { WidgetEnvironment } from "./types";
6
6
  /**
7
7
  * Widget URLs by environment
8
8
  */
9
9
  export declare const WIDGET_URLS: {
10
10
  readonly development: "https://oobit-widget-dev.web.app";
11
- readonly production: "https://widget.oobit.com";
11
+ readonly production: "https://oobit-widget.web.app";
12
12
  };
13
13
  /**
14
14
  * Get the widget URL for the specified environment
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,WAAW;;;CAGd,CAAC;AAEX;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,WAAW,GAAE,iBAAgC,GAAG,MAAM,CAElF"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,WAAW;;;CAGd,CAAC;AAEX;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,WAAW,GAAE,iBAAgC,GAC5C,MAAM,CAER"}
package/dist/config.js CHANGED
@@ -11,14 +11,14 @@ exports.getWidgetUrl = getWidgetUrl;
11
11
  */
12
12
  exports.WIDGET_URLS = {
13
13
  development: "https://oobit-widget-dev.web.app",
14
- production: "https://widget.oobit.com",
14
+ production: "https://oobit-widget.web.app",
15
15
  };
16
16
  /**
17
17
  * Get the widget URL for the specified environment
18
18
  * @param environment - The environment to use (defaults to 'production')
19
19
  * @returns The widget URL for the specified environment
20
20
  */
21
- function getWidgetUrl(environment = 'production') {
21
+ function getWidgetUrl(environment = "production") {
22
22
  return exports.WIDGET_URLS[environment];
23
23
  }
24
24
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAiBH,oCAEC;AAfD;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,WAAW,EAAE,kCAAkC;IAC/C,UAAU,EAAE,0BAA0B;CAC9B,CAAC;AAEX;;;;GAIG;AACH,SAAgB,YAAY,CAAC,cAAiC,YAAY;IACxE,OAAO,mBAAW,CAAC,WAAW,CAAC,CAAC;AAClC,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAiBH,oCAIC;AAjBD;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,WAAW,EAAE,kCAAkC;IAC/C,UAAU,EAAE,8BAA8B;CAClC,CAAC;AAEX;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,cAAiC,YAAY;IAE7C,OAAO,mBAAW,CAAC,WAAW,CAAC,CAAC;AAClC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oobit/react-native-sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "React Native SDK for integrating Oobit crypto payments into wallet apps",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
package/src/config.ts CHANGED
@@ -3,14 +3,14 @@
3
3
  * Environment-based configuration for the widget URL
4
4
  */
5
5
 
6
- import { WidgetEnvironment } from './types';
6
+ import { WidgetEnvironment } from "./types";
7
7
 
8
8
  /**
9
9
  * Widget URLs by environment
10
10
  */
11
11
  export const WIDGET_URLS = {
12
12
  development: "https://oobit-widget-dev.web.app",
13
- production: "https://widget.oobit.com",
13
+ production: "https://oobit-widget.web.app",
14
14
  } as const;
15
15
 
16
16
  /**
@@ -18,6 +18,8 @@ export const WIDGET_URLS = {
18
18
  * @param environment - The environment to use (defaults to 'production')
19
19
  * @returns The widget URL for the specified environment
20
20
  */
21
- export function getWidgetUrl(environment: WidgetEnvironment = 'production'): string {
21
+ export function getWidgetUrl(
22
+ environment: WidgetEnvironment = "production"
23
+ ): string {
22
24
  return WIDGET_URLS[environment];
23
25
  }