@cinerino/sdk 3.127.0 → 3.128.0-alpha.1
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/example/playground/public/lib/bundle.js +56 -8
- package/lib/bundle.js +56 -8
- package/package.json +2 -2
|
@@ -12979,11 +12979,35 @@ var AccountTransactionService = /** @class */ (function (_super) {
|
|
|
12979
12979
|
return __generator(this, function (_a) {
|
|
12980
12980
|
switch (_a.label) {
|
|
12981
12981
|
case 0: return [4 /*yield*/, this.fetch({
|
|
12982
|
-
uri:
|
|
12983
|
-
? "/accountTransactions/" + params.transactionNumber + "/confirm?transactionNumber=1"
|
|
12984
|
-
: "/accountTransactions/" + params.id + "/confirm",
|
|
12982
|
+
uri: "/accountTransactions/" + params.transactionNumber + "/confirm",
|
|
12985
12983
|
method: 'PUT',
|
|
12986
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
12984
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
12985
|
+
qs: {
|
|
12986
|
+
transactionNumber: '1'
|
|
12987
|
+
}
|
|
12988
|
+
})];
|
|
12989
|
+
case 1:
|
|
12990
|
+
_a.sent();
|
|
12991
|
+
return [2 /*return*/];
|
|
12992
|
+
}
|
|
12993
|
+
});
|
|
12994
|
+
});
|
|
12995
|
+
};
|
|
12996
|
+
/**
|
|
12997
|
+
* 取引確定
|
|
12998
|
+
*/
|
|
12999
|
+
AccountTransactionService.prototype.confirmSync = function (params) {
|
|
13000
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13001
|
+
return __generator(this, function (_a) {
|
|
13002
|
+
switch (_a.label) {
|
|
13003
|
+
case 0: return [4 /*yield*/, this.fetch({
|
|
13004
|
+
uri: "/accountTransactions/" + params.transactionNumber + "/confirm",
|
|
13005
|
+
method: 'PUT',
|
|
13006
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
13007
|
+
qs: {
|
|
13008
|
+
sync: '1',
|
|
13009
|
+
transactionNumber: '1'
|
|
13010
|
+
}
|
|
12987
13011
|
})];
|
|
12988
13012
|
case 1:
|
|
12989
13013
|
_a.sent();
|
|
@@ -13000,11 +13024,35 @@ var AccountTransactionService = /** @class */ (function (_super) {
|
|
|
13000
13024
|
return __generator(this, function (_a) {
|
|
13001
13025
|
switch (_a.label) {
|
|
13002
13026
|
case 0: return [4 /*yield*/, this.fetch({
|
|
13003
|
-
uri:
|
|
13004
|
-
? "/accountTransactions/" + params.transactionNumber + "/cancel?transactionNumber=1"
|
|
13005
|
-
: "/accountTransactions/" + params.id + "/cancel",
|
|
13027
|
+
uri: "/accountTransactions/" + params.transactionNumber + "/cancel",
|
|
13006
13028
|
method: 'PUT',
|
|
13007
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
13029
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
13030
|
+
qs: {
|
|
13031
|
+
transactionNumber: '1'
|
|
13032
|
+
}
|
|
13033
|
+
})];
|
|
13034
|
+
case 1:
|
|
13035
|
+
_a.sent();
|
|
13036
|
+
return [2 /*return*/];
|
|
13037
|
+
}
|
|
13038
|
+
});
|
|
13039
|
+
});
|
|
13040
|
+
};
|
|
13041
|
+
/**
|
|
13042
|
+
* 取引中止
|
|
13043
|
+
*/
|
|
13044
|
+
AccountTransactionService.prototype.cancelSync = function (params) {
|
|
13045
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13046
|
+
return __generator(this, function (_a) {
|
|
13047
|
+
switch (_a.label) {
|
|
13048
|
+
case 0: return [4 /*yield*/, this.fetch({
|
|
13049
|
+
uri: "/accountTransactions/" + params.transactionNumber + "/cancel",
|
|
13050
|
+
method: 'PUT',
|
|
13051
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
13052
|
+
qs: {
|
|
13053
|
+
sync: '1',
|
|
13054
|
+
transactionNumber: '1'
|
|
13055
|
+
}
|
|
13008
13056
|
})];
|
|
13009
13057
|
case 1:
|
|
13010
13058
|
_a.sent();
|
package/lib/bundle.js
CHANGED
|
@@ -12979,11 +12979,35 @@ var AccountTransactionService = /** @class */ (function (_super) {
|
|
|
12979
12979
|
return __generator(this, function (_a) {
|
|
12980
12980
|
switch (_a.label) {
|
|
12981
12981
|
case 0: return [4 /*yield*/, this.fetch({
|
|
12982
|
-
uri:
|
|
12983
|
-
? "/accountTransactions/" + params.transactionNumber + "/confirm?transactionNumber=1"
|
|
12984
|
-
: "/accountTransactions/" + params.id + "/confirm",
|
|
12982
|
+
uri: "/accountTransactions/" + params.transactionNumber + "/confirm",
|
|
12985
12983
|
method: 'PUT',
|
|
12986
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
12984
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
12985
|
+
qs: {
|
|
12986
|
+
transactionNumber: '1'
|
|
12987
|
+
}
|
|
12988
|
+
})];
|
|
12989
|
+
case 1:
|
|
12990
|
+
_a.sent();
|
|
12991
|
+
return [2 /*return*/];
|
|
12992
|
+
}
|
|
12993
|
+
});
|
|
12994
|
+
});
|
|
12995
|
+
};
|
|
12996
|
+
/**
|
|
12997
|
+
* 取引確定
|
|
12998
|
+
*/
|
|
12999
|
+
AccountTransactionService.prototype.confirmSync = function (params) {
|
|
13000
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13001
|
+
return __generator(this, function (_a) {
|
|
13002
|
+
switch (_a.label) {
|
|
13003
|
+
case 0: return [4 /*yield*/, this.fetch({
|
|
13004
|
+
uri: "/accountTransactions/" + params.transactionNumber + "/confirm",
|
|
13005
|
+
method: 'PUT',
|
|
13006
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
13007
|
+
qs: {
|
|
13008
|
+
sync: '1',
|
|
13009
|
+
transactionNumber: '1'
|
|
13010
|
+
}
|
|
12987
13011
|
})];
|
|
12988
13012
|
case 1:
|
|
12989
13013
|
_a.sent();
|
|
@@ -13000,11 +13024,35 @@ var AccountTransactionService = /** @class */ (function (_super) {
|
|
|
13000
13024
|
return __generator(this, function (_a) {
|
|
13001
13025
|
switch (_a.label) {
|
|
13002
13026
|
case 0: return [4 /*yield*/, this.fetch({
|
|
13003
|
-
uri:
|
|
13004
|
-
? "/accountTransactions/" + params.transactionNumber + "/cancel?transactionNumber=1"
|
|
13005
|
-
: "/accountTransactions/" + params.id + "/cancel",
|
|
13027
|
+
uri: "/accountTransactions/" + params.transactionNumber + "/cancel",
|
|
13006
13028
|
method: 'PUT',
|
|
13007
|
-
expectedStatusCodes: [http_status_1.NO_CONTENT]
|
|
13029
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
13030
|
+
qs: {
|
|
13031
|
+
transactionNumber: '1'
|
|
13032
|
+
}
|
|
13033
|
+
})];
|
|
13034
|
+
case 1:
|
|
13035
|
+
_a.sent();
|
|
13036
|
+
return [2 /*return*/];
|
|
13037
|
+
}
|
|
13038
|
+
});
|
|
13039
|
+
});
|
|
13040
|
+
};
|
|
13041
|
+
/**
|
|
13042
|
+
* 取引中止
|
|
13043
|
+
*/
|
|
13044
|
+
AccountTransactionService.prototype.cancelSync = function (params) {
|
|
13045
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13046
|
+
return __generator(this, function (_a) {
|
|
13047
|
+
switch (_a.label) {
|
|
13048
|
+
case 0: return [4 /*yield*/, this.fetch({
|
|
13049
|
+
uri: "/accountTransactions/" + params.transactionNumber + "/cancel",
|
|
13050
|
+
method: 'PUT',
|
|
13051
|
+
expectedStatusCodes: [http_status_1.NO_CONTENT],
|
|
13052
|
+
qs: {
|
|
13053
|
+
sync: '1',
|
|
13054
|
+
transactionNumber: '1'
|
|
13055
|
+
}
|
|
13008
13056
|
})];
|
|
13009
13057
|
case 1:
|
|
13010
13058
|
_a.sent();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.128.0-alpha.1",
|
|
4
4
|
"description": "Cinerino SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"watchify": "^3.11.1"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@cinerino/api-abstract-client": "3.
|
|
100
|
+
"@cinerino/api-abstract-client": "3.128.0-alpha.1",
|
|
101
101
|
"debug": "^3.2.6",
|
|
102
102
|
"http-status": "^1.4.2",
|
|
103
103
|
"idtoken-verifier": "^2.0.3",
|