ggez-banking-sdk 0.4.6 → 0.4.7
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/api/api.js +5 -3
- package/dist/api/context/defaultClientContextProvider.js +1 -1
- package/dist/api/proxy/blockchain.js +8 -4
- package/dist/api/proxy/limited.js +18 -9
- package/dist/api/proxy/order.js +2 -1
- package/dist/api/proxy/organization.js +10 -4
- package/dist/api/proxy/promotion.js +2 -1
- package/dist/api/proxy/transaction.js +10 -5
- package/dist/api/proxy/user.js +188 -47
- package/dist/types/api/api.d.ts +2 -3
- package/dist/types/api/context/clientContext.d.ts +1 -1
- package/package.json +1 -1
package/dist/api/api.js
CHANGED
|
@@ -22,10 +22,12 @@ class API {
|
|
|
22
22
|
nodeUrl: clientData.nodeUrl,
|
|
23
23
|
programId: clientData.programId,
|
|
24
24
|
lang: clientData.lang,
|
|
25
|
-
installationId: clientData.installationId,
|
|
26
25
|
});
|
|
27
|
-
this.cookiesHelper = new CookiesHelper(
|
|
28
|
-
const authService = new AuthService({
|
|
26
|
+
this.cookiesHelper = new CookiesHelper(clientData.programId, clientData.domain, errorHandler);
|
|
27
|
+
const authService = new AuthService({
|
|
28
|
+
context: this.context,
|
|
29
|
+
errorHandler,
|
|
30
|
+
});
|
|
29
31
|
this.auth = new AuthProxy(this.context, authService, this.cookiesHelper);
|
|
30
32
|
this.account = new AccountProxy(this.context, errorHandler);
|
|
31
33
|
this.blockchain = new BlockchainProxy(this.context, errorHandler);
|
|
@@ -9,16 +9,20 @@ class BlockchainProxy extends BaseProxy {
|
|
|
9
9
|
}
|
|
10
10
|
// #region "POST"
|
|
11
11
|
send = async (data) => {
|
|
12
|
-
|
|
12
|
+
const blockchainData = fillBlockchainSendData(data);
|
|
13
|
+
return this.blockchainService.send(blockchainData);
|
|
13
14
|
};
|
|
14
15
|
multiSend = async (data) => {
|
|
15
|
-
|
|
16
|
+
const blockchainData = fillBlockchainMultiSendData(data);
|
|
17
|
+
return this.blockchainService.multiSend(blockchainData);
|
|
16
18
|
};
|
|
17
19
|
delegate = async (data) => {
|
|
18
|
-
|
|
20
|
+
const blockchainData = fillBlockchainDelegateData(data);
|
|
21
|
+
return this.blockchainService.delegate(blockchainData);
|
|
19
22
|
};
|
|
20
23
|
undelegate = async (data) => {
|
|
21
|
-
|
|
24
|
+
const blockchainData = fillBlockchainUndelegateData(data);
|
|
25
|
+
return this.blockchainService.undelegate(blockchainData);
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
28
|
export { BlockchainProxy };
|
|
@@ -9,31 +9,40 @@ class LimitedProxy extends BaseProxy {
|
|
|
9
9
|
}
|
|
10
10
|
// #region "POST"
|
|
11
11
|
checkForgetPassword = async (data) => {
|
|
12
|
-
|
|
12
|
+
const forgetSecurityData = fillCheckForgetPasswordData(data);
|
|
13
|
+
return this.limitedService.checkForgetSecurityData(forgetSecurityData);
|
|
13
14
|
};
|
|
14
15
|
validateForgetPassword = async (data) => {
|
|
15
|
-
|
|
16
|
+
const forgetSecurityData = fillValidateForgetPasswordData(data);
|
|
17
|
+
return this.limitedService.validateForgetSecurityData(forgetSecurityData);
|
|
16
18
|
};
|
|
17
19
|
confirmForgetPassword = async (data) => {
|
|
18
|
-
|
|
20
|
+
const forgetSecurityData = fillConfirmForgetPasswordData(data);
|
|
21
|
+
return this.limitedService.confirmForgetSecurityData(forgetSecurityData);
|
|
19
22
|
};
|
|
20
23
|
validateEmail = async (data) => {
|
|
21
|
-
|
|
24
|
+
const validateSecurityData = fillValidateEmailData(data);
|
|
25
|
+
return this.limitedService.validateSecurityData(validateSecurityData);
|
|
22
26
|
};
|
|
23
27
|
validatePhone = async (data) => {
|
|
24
|
-
|
|
28
|
+
const validateSecurityData = fillValidatePhoneData(data);
|
|
29
|
+
return this.limitedService.validateSecurityData(validateSecurityData);
|
|
25
30
|
};
|
|
26
31
|
verifyEmail = async (data) => {
|
|
27
|
-
|
|
32
|
+
const verifySecurityData = fillVerifyEmailData(data);
|
|
33
|
+
return this.limitedService.verifySecurityData(verifySecurityData);
|
|
28
34
|
};
|
|
29
35
|
verifyPhone = async (data) => {
|
|
30
|
-
|
|
36
|
+
const verifySecurityData = fillVerifyPhoneData(data);
|
|
37
|
+
return this.limitedService.verifySecurityData(verifySecurityData);
|
|
31
38
|
};
|
|
32
39
|
confirmEmail = async (data) => {
|
|
33
|
-
|
|
40
|
+
const confirmSecurityData = fillConfirmEmailData(data);
|
|
41
|
+
return this.limitedService.confirmSecurityData(confirmSecurityData);
|
|
34
42
|
};
|
|
35
43
|
confirmPhone = async (data) => {
|
|
36
|
-
|
|
44
|
+
const confirmSecurityData = fillConfirmPhoneData(data);
|
|
45
|
+
return this.limitedService.confirmSecurityData(confirmSecurityData);
|
|
37
46
|
};
|
|
38
47
|
}
|
|
39
48
|
export { LimitedProxy };
|
package/dist/api/proxy/order.js
CHANGED
|
@@ -9,7 +9,8 @@ class OrderProxy extends BaseProxy {
|
|
|
9
9
|
}
|
|
10
10
|
// #region "POST"
|
|
11
11
|
createOrder = async (data) => {
|
|
12
|
-
|
|
12
|
+
const orderData = fillCreateOrderData(data);
|
|
13
|
+
return this.orderService.create(orderData);
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
export { OrderProxy };
|
|
@@ -7,7 +7,10 @@ class OrganizationProxy extends BaseProxy {
|
|
|
7
7
|
constructor(context, errorHandler) {
|
|
8
8
|
super(errorHandler);
|
|
9
9
|
this.context = context;
|
|
10
|
-
this.organizationService = new OrganizationService({
|
|
10
|
+
this.organizationService = new OrganizationService({
|
|
11
|
+
context,
|
|
12
|
+
errorHandler,
|
|
13
|
+
});
|
|
11
14
|
}
|
|
12
15
|
// #region "GET"
|
|
13
16
|
getOrganization = async (id) => {
|
|
@@ -16,15 +19,18 @@ class OrganizationProxy extends BaseProxy {
|
|
|
16
19
|
// #endregion
|
|
17
20
|
// #region "POST"
|
|
18
21
|
createOrganization = async (data) => {
|
|
19
|
-
|
|
22
|
+
const organizationData = fillCreateOrganizationData(data, this.context.getUserId());
|
|
23
|
+
return this.organizationService.create(organizationData);
|
|
20
24
|
};
|
|
21
25
|
uploadDocument = async (data) => {
|
|
22
|
-
|
|
26
|
+
const documentData = fillCreateOrganizationDocumentData(data);
|
|
27
|
+
return this.organizationService.createDocument(data.id, documentData);
|
|
23
28
|
};
|
|
24
29
|
// #endregion
|
|
25
30
|
// #region "PUT"
|
|
26
31
|
updateOrganization = async (data) => {
|
|
27
|
-
|
|
32
|
+
const organizationData = fillUpdateOrganizationData(data, this.context.getUserId());
|
|
33
|
+
return this.organizationService.update(data.id, organizationData);
|
|
28
34
|
};
|
|
29
35
|
// #endregion
|
|
30
36
|
// #region "DELETE"
|
|
@@ -16,7 +16,8 @@ class PromotionProxy extends BaseProxy {
|
|
|
16
16
|
// #endregion
|
|
17
17
|
// #region "PUT"
|
|
18
18
|
incrementPromotionParticipants = async (data) => {
|
|
19
|
-
|
|
19
|
+
const giftRewards = data;
|
|
20
|
+
return this.promotionService.incrementPromotionParticipants(giftRewards);
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
23
|
export { PromotionProxy };
|
|
@@ -9,21 +9,26 @@ class TransactionProxy extends BaseProxy {
|
|
|
9
9
|
}
|
|
10
10
|
// #region "GET"
|
|
11
11
|
inquiryTransaction = async (params) => {
|
|
12
|
-
|
|
12
|
+
const transactionInquiry = fillTransactionInquiryData(params);
|
|
13
|
+
return this.transactionService.inquiry(transactionInquiry);
|
|
13
14
|
};
|
|
14
15
|
// #endregion
|
|
15
16
|
// #region "POST"
|
|
16
17
|
createSystemTransaction = async (data) => {
|
|
17
|
-
|
|
18
|
+
const transactionData = fillCreateSystemTransactionData(data);
|
|
19
|
+
return this.transactionService.create(transactionData);
|
|
18
20
|
};
|
|
19
21
|
createBlockchainTransaction = async (data) => {
|
|
20
|
-
|
|
22
|
+
const transactionData = fillCreateBlockchainTransactionData(data);
|
|
23
|
+
return this.transactionService.create(transactionData);
|
|
21
24
|
};
|
|
22
25
|
createBlockchainTransferTransaction = async (data) => {
|
|
23
|
-
|
|
26
|
+
const transactionData = fillCreateBlockchainTransferTransactionData(data);
|
|
27
|
+
return this.transactionService.create(transactionData);
|
|
24
28
|
};
|
|
25
29
|
createGatewayCryptoTransaction = async (data) => {
|
|
26
|
-
|
|
30
|
+
const transactionData = fillCreateGatewayCryptoTransactionData(data);
|
|
31
|
+
return this.transactionService.create(transactionData);
|
|
27
32
|
};
|
|
28
33
|
}
|
|
29
34
|
export { TransactionProxy };
|
package/dist/api/proxy/user.js
CHANGED
|
@@ -30,65 +30,206 @@ class UserProxy extends BaseProxy {
|
|
|
30
30
|
getDeviceHistory = async () => this.userService.getDeviceHistory();
|
|
31
31
|
// #endregion
|
|
32
32
|
// #region "POST"
|
|
33
|
-
createUser = async (data) =>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
createUser = async (data) => {
|
|
34
|
+
const userData = fillCreateUserData(data);
|
|
35
|
+
return this.userService.createUser(userData);
|
|
36
|
+
};
|
|
37
|
+
createUserWithGoogle = async (data) => {
|
|
38
|
+
const userData = await fillCreateUserWithGoogleData(data);
|
|
39
|
+
return this.userService.createUser(userData);
|
|
40
|
+
};
|
|
41
|
+
createPhone = async (data) => {
|
|
42
|
+
const userData = fillCreatePhoneData(data);
|
|
43
|
+
return this.userService.createPhone(userData);
|
|
44
|
+
};
|
|
45
|
+
createIdentification = async (data) => {
|
|
46
|
+
const userData = fillCreateIdentificationData(data);
|
|
47
|
+
return this.userService.createIdentification(userData);
|
|
48
|
+
};
|
|
37
49
|
createExternalAuth = async (data) => this.userService.createExternalAuth(data);
|
|
38
|
-
createEmail = async (data) =>
|
|
50
|
+
createEmail = async (data) => {
|
|
51
|
+
const userData = fillCreateEmailData(data);
|
|
52
|
+
return this.userService.createEmail(userData);
|
|
53
|
+
};
|
|
39
54
|
createCurrency = async (data) => this.userService.createCurrency(data);
|
|
40
55
|
createCreditCard = async (data) => this.userService.createCreditCard(data);
|
|
41
|
-
createTicket = async (data) =>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
56
|
+
createTicket = async (data) => {
|
|
57
|
+
const userData = fillCreateTicketData(data);
|
|
58
|
+
return this.userService.createTicket(userData);
|
|
59
|
+
};
|
|
60
|
+
createBankAccount = async (data) => {
|
|
61
|
+
const userData = fillCreateBankAccountData(data);
|
|
62
|
+
return this.userService.createBankAccount(userData);
|
|
63
|
+
};
|
|
64
|
+
createAddress = async (data) => {
|
|
65
|
+
const userData = fillCreateAddressData(data);
|
|
66
|
+
return this.userService.createAddress(userData);
|
|
67
|
+
};
|
|
68
|
+
createDevice = async (data) => {
|
|
69
|
+
const userData = fillCreateDeviceData(data);
|
|
70
|
+
return this.userService.createDevice(userData);
|
|
71
|
+
};
|
|
45
72
|
securityAccess = async (data) => this.userService.securityAccess(data);
|
|
46
|
-
uploadDocument = async (data) =>
|
|
47
|
-
|
|
73
|
+
uploadDocument = async (data) => {
|
|
74
|
+
const documentData = fillUploadDocumentData(data);
|
|
75
|
+
return this.userService.uploadDocument(documentData);
|
|
76
|
+
};
|
|
77
|
+
updateProfilePicture = async (data) => {
|
|
78
|
+
const documentData = fillUploadProfilePictureData(data);
|
|
79
|
+
return this.userService.uploadDocument(documentData);
|
|
80
|
+
};
|
|
48
81
|
verifySecurityData = async (data) => this.userService.verifySecurityData(data);
|
|
49
|
-
verifyEmail = async (data) =>
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
82
|
+
verifyEmail = async (data) => {
|
|
83
|
+
const verifySecurityData = fillVerifyEmailData(data);
|
|
84
|
+
return this.userService.verifySecurityData(verifySecurityData);
|
|
85
|
+
};
|
|
86
|
+
sendEmailOTP = async (data) => {
|
|
87
|
+
const verifySecurityData = fillSendEmailOTPData(data);
|
|
88
|
+
return this.userService.verifySecurityData(verifySecurityData);
|
|
89
|
+
};
|
|
90
|
+
verifyPhone = async (data) => {
|
|
91
|
+
const verifySecurityData = fillVerifyPhoneData(data);
|
|
92
|
+
return this.userService.verifySecurityData(verifySecurityData);
|
|
93
|
+
};
|
|
94
|
+
sendPhoneOTP = async (data) => {
|
|
95
|
+
const verifySecurityData = fillSendPhoneOTPData(data);
|
|
96
|
+
return this.userService.verifySecurityData(verifySecurityData);
|
|
97
|
+
};
|
|
98
|
+
verifyDevice = async (data) => {
|
|
99
|
+
const verifySecurityData = fillVerifyDeviceData(data);
|
|
100
|
+
return this.userService.verifySecurityData(verifySecurityData);
|
|
101
|
+
};
|
|
54
102
|
confirmSecurityData = async (data) => this.userService.confirmSecurityData(data);
|
|
55
|
-
confirmEmail = async (data) =>
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
103
|
+
confirmEmail = async (data) => {
|
|
104
|
+
const confirmSecurityData = fillConfirmEmailData(data);
|
|
105
|
+
return this.userService.confirmSecurityData(confirmSecurityData);
|
|
106
|
+
};
|
|
107
|
+
confirmPhone = async (data) => {
|
|
108
|
+
const confirmSecurityData = fillConfirmPhoneData(data);
|
|
109
|
+
return this.userService.confirmSecurityData(confirmSecurityData);
|
|
110
|
+
};
|
|
111
|
+
confirmDevice = async (data) => {
|
|
112
|
+
const confirmSecurityData = fillConfirmDeviceData(data);
|
|
113
|
+
return this.userService.confirmSecurityData(confirmSecurityData);
|
|
114
|
+
};
|
|
115
|
+
resetSecurityData = async (data) => {
|
|
116
|
+
const securityData = data;
|
|
117
|
+
return this.userService.resetSecurityData(securityData);
|
|
118
|
+
};
|
|
59
119
|
enrollGoogleAuth = async () => this.userService.enrollGoogleAuth(fillEnrollGoogleAuthData());
|
|
60
|
-
activateGoogleAuth = async (data) =>
|
|
61
|
-
|
|
62
|
-
|
|
120
|
+
activateGoogleAuth = async (data) => {
|
|
121
|
+
const userData = fillActivateGoogleAuthData(data);
|
|
122
|
+
return this.userService.activateGoogleAuth(userData);
|
|
123
|
+
};
|
|
124
|
+
deleteGoogleAuth = async (data) => {
|
|
125
|
+
const userData = fillDeleteGoogleAuthData(data);
|
|
126
|
+
return this.userService.deleteGoogleAuth(userData);
|
|
127
|
+
};
|
|
128
|
+
deactivateGoogleAuth = async (data) => {
|
|
129
|
+
const userData = fillDeactivateGoogleAuthData(data);
|
|
130
|
+
return this.userService.deactivateGoogleAuth(userData);
|
|
131
|
+
};
|
|
63
132
|
// #endregion
|
|
64
133
|
// #region "PUT"
|
|
65
134
|
updateUser = async (data) => this.userService.updateUser(data);
|
|
66
|
-
resetPassword = async (data) =>
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
135
|
+
resetPassword = async (data) => {
|
|
136
|
+
const resetSecurityData = fillResetPasswordData(data);
|
|
137
|
+
return this.userService.resetSecurityData(resetSecurityData);
|
|
138
|
+
};
|
|
139
|
+
resetSecurityCode = async (data) => {
|
|
140
|
+
const resetSecurityData = fillResetSecurityCodeData(data);
|
|
141
|
+
return this.userService.resetSecurityData(resetSecurityData);
|
|
142
|
+
};
|
|
143
|
+
resetSecurityQuestions = async (data) => {
|
|
144
|
+
const resetSecurityData = fillResetSecurityQuestionsData(data);
|
|
145
|
+
return this.userService.resetSecurityData(resetSecurityData);
|
|
146
|
+
};
|
|
147
|
+
validateSecurityCode = async (data) => {
|
|
148
|
+
const validateSecurityData = fillValidateSecurityCodeData(data);
|
|
149
|
+
return this.userService.validateSecurityData(validateSecurityData);
|
|
150
|
+
};
|
|
151
|
+
updatePreferences = async (data) => {
|
|
152
|
+
const userData = fillUpdatePreferencesData(data);
|
|
153
|
+
return this.userService.updatePreferences(userData);
|
|
154
|
+
};
|
|
155
|
+
updatePhone = async (data) => {
|
|
156
|
+
const userData = fillUpdatePhoneData(data);
|
|
157
|
+
return this.userService.updatePhone(userData);
|
|
158
|
+
};
|
|
159
|
+
makePhonePrimary = async (data) => {
|
|
160
|
+
const userData = fillMakePhonePrimaryData(data);
|
|
161
|
+
return this.userService.updatePhone(userData);
|
|
162
|
+
};
|
|
163
|
+
updatePersonalInfo = async (data) => {
|
|
164
|
+
const userData = fillUpdatePersonalInfoData(data);
|
|
165
|
+
return this.userService.updatePersonalInfo(userData);
|
|
166
|
+
};
|
|
167
|
+
updateIdentification = async (data) => {
|
|
168
|
+
const userData = fillUpdateIdentificationData(data);
|
|
169
|
+
return this.userService.updateIdentification(userData);
|
|
170
|
+
};
|
|
75
171
|
updateExternalAuth = async (data) => this.userService.updateExternalAuth(data);
|
|
76
|
-
updateEmail = async (data) =>
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
172
|
+
updateEmail = async (data) => {
|
|
173
|
+
const userData = fillUpdateEmailData(data);
|
|
174
|
+
return this.userService.updateEmail(userData);
|
|
175
|
+
};
|
|
176
|
+
makeEmailPrimary = async (data) => {
|
|
177
|
+
const userData = fillMakeEmailPrimaryData(data);
|
|
178
|
+
return this.userService.updateEmail(userData);
|
|
179
|
+
};
|
|
180
|
+
updateBankAccount = async (data) => {
|
|
181
|
+
const userData = fillUpdateBankAccountData(data);
|
|
182
|
+
return this.userService.updateBankAccount(userData);
|
|
183
|
+
};
|
|
184
|
+
makeBankAccountPrimary = async (data) => {
|
|
185
|
+
const userData = fillMakeBankAccountPrimaryData(data);
|
|
186
|
+
return this.userService.updateBankAccount(userData);
|
|
187
|
+
};
|
|
188
|
+
updateAddress = async (data) => {
|
|
189
|
+
const userData = fillUpdateAddressData(data);
|
|
190
|
+
return this.userService.updateAddress(userData);
|
|
191
|
+
};
|
|
192
|
+
makeAddressPrimary = async (data) => {
|
|
193
|
+
const userData = fillMakeAddressPrimaryData(data);
|
|
194
|
+
return this.userService.updateAddress(userData);
|
|
195
|
+
};
|
|
196
|
+
updateDevice = async (data) => {
|
|
197
|
+
const userData = fillUpdateDeviceData(data);
|
|
198
|
+
return this.userService.updateDevice(userData);
|
|
199
|
+
};
|
|
200
|
+
logoutDevice = async (data) => {
|
|
201
|
+
const userData = fillLogoutDeviceData(data);
|
|
202
|
+
return this.userService.logoutDevice(userData);
|
|
203
|
+
};
|
|
204
|
+
updateUserType = async (data) => {
|
|
205
|
+
const userData = fillUpdateUserTypeData(data);
|
|
206
|
+
return this.userService.updateUserType(userData);
|
|
207
|
+
};
|
|
85
208
|
// #endregion
|
|
86
209
|
// #region "DELETE"
|
|
87
|
-
deleteAddress = async (data) =>
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
210
|
+
deleteAddress = async (data) => {
|
|
211
|
+
const userData = fillDeleteAddressData(data);
|
|
212
|
+
return this.userService.deleteAddress(userData);
|
|
213
|
+
};
|
|
214
|
+
deleteBankAccount = async (data) => {
|
|
215
|
+
const userData = fillDeleteBankAccountData(data);
|
|
216
|
+
return this.userService.deleteBankAccount(userData);
|
|
217
|
+
};
|
|
218
|
+
deleteDevice = async (data) => {
|
|
219
|
+
const userData = fillDeleteDeviceData(data);
|
|
220
|
+
return this.userService.deleteDevice(userData);
|
|
221
|
+
};
|
|
222
|
+
deleteEmail = async (data) => {
|
|
223
|
+
const userData = fillDeleteEmailData(data);
|
|
224
|
+
return this.userService.deleteEmail(userData);
|
|
225
|
+
};
|
|
226
|
+
deleteIdentification = async (data) => {
|
|
227
|
+
const userData = fillDeleteIdentificationData(data);
|
|
228
|
+
return this.userService.deleteIdentification(userData);
|
|
229
|
+
};
|
|
230
|
+
deletePhone = async (data) => {
|
|
231
|
+
const userData = fillDeletePhoneData(data);
|
|
232
|
+
return this.userService.deletePhone(userData);
|
|
233
|
+
};
|
|
93
234
|
}
|
|
94
235
|
export { UserProxy };
|
package/dist/types/api/api.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|