@rozoai/intent-common 0.0.28-beta.3 → 0.0.28
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/bridge.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/bridge.ts +2 -2
- package/src/index.ts +1 -1
- package/dist/api/index.d.ts +0 -13
- package/dist/api/index.js +0 -30
- package/dist/api/index.js.map +0 -1
- package/src/api/index.ts +0 -14
package/dist/bridge.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RozoPayHydratedOrderWithOrg } from ".";
|
|
2
|
-
import type { PaymentResponseData } from "./api";
|
|
2
|
+
import type { PaymentResponseData } from "./api/payment";
|
|
3
3
|
export interface PaymentBridgeConfig {
|
|
4
4
|
toChain?: number;
|
|
5
5
|
toToken?: string;
|
|
6
|
-
toAddress
|
|
6
|
+
toAddress: string;
|
|
7
7
|
toStellarAddress?: string;
|
|
8
8
|
toSolanaAddress?: string;
|
|
9
9
|
toUnits: string;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./api"), exports);
|
|
17
|
+
__exportStar(require("./api/payment"), exports);
|
|
18
18
|
__exportStar(require("./assert"), exports);
|
|
19
19
|
__exportStar(require("./bridge"), exports);
|
|
20
20
|
__exportStar(require("./chain"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB;AACzB,0CAAwB;AACxB,6CAA2B;AAC3B,0CAAwB;AACxB,2CAAyB;AACzB,mDAAiC;AACjC,iDAA+B;AAC/B,0CAAwB;AACxB,wCAAsB"}
|
package/package.json
CHANGED
package/src/bridge.ts
CHANGED
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
rozoStellar,
|
|
16
16
|
rozoStellarUSDC,
|
|
17
17
|
} from ".";
|
|
18
|
-
import type { PaymentResponseData } from "./api";
|
|
18
|
+
import type { PaymentResponseData } from "./api/payment";
|
|
19
19
|
|
|
20
20
|
export interface PaymentBridgeConfig {
|
|
21
21
|
toChain?: number;
|
|
22
22
|
toToken?: string;
|
|
23
|
-
toAddress
|
|
23
|
+
toAddress: string;
|
|
24
24
|
toStellarAddress?: string;
|
|
25
25
|
toSolanaAddress?: string;
|
|
26
26
|
toUnits: string;
|
package/src/index.ts
CHANGED
package/dist/api/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API client utilities for RozoAI Intent Pay
|
|
3
|
-
*
|
|
4
|
-
* This module provides core API client functionality for making HTTP requests
|
|
5
|
-
* to the RozoAI payment API. It includes:
|
|
6
|
-
* - Base API client with support for GET, POST, PUT, PATCH, DELETE
|
|
7
|
-
* - Payment API functions and types
|
|
8
|
-
* - Type-safe interfaces for requests and responses
|
|
9
|
-
*
|
|
10
|
-
* Note: React hooks for these APIs are available in the @rozoai/intent-pay package.
|
|
11
|
-
*/
|
|
12
|
-
export * from "./base";
|
|
13
|
-
export * from "./payment";
|
package/dist/api/index.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* API client utilities for RozoAI Intent Pay
|
|
4
|
-
*
|
|
5
|
-
* This module provides core API client functionality for making HTTP requests
|
|
6
|
-
* to the RozoAI payment API. It includes:
|
|
7
|
-
* - Base API client with support for GET, POST, PUT, PATCH, DELETE
|
|
8
|
-
* - Payment API functions and types
|
|
9
|
-
* - Type-safe interfaces for requests and responses
|
|
10
|
-
*
|
|
11
|
-
* Note: React hooks for these APIs are available in the @rozoai/intent-pay package.
|
|
12
|
-
*/
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
__exportStar(require("./base"), exports);
|
|
29
|
-
__exportStar(require("./payment"), exports);
|
|
30
|
-
//# sourceMappingURL=index.js.map
|
package/dist/api/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAEH,yCAAuB;AACvB,4CAA0B"}
|
package/src/api/index.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API client utilities for RozoAI Intent Pay
|
|
3
|
-
*
|
|
4
|
-
* This module provides core API client functionality for making HTTP requests
|
|
5
|
-
* to the RozoAI payment API. It includes:
|
|
6
|
-
* - Base API client with support for GET, POST, PUT, PATCH, DELETE
|
|
7
|
-
* - Payment API functions and types
|
|
8
|
-
* - Type-safe interfaces for requests and responses
|
|
9
|
-
*
|
|
10
|
-
* Note: React hooks for these APIs are available in the @rozoai/intent-pay package.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
export * from "./base";
|
|
14
|
-
export * from "./payment";
|