@arianee/arianee-privacy-gateway-client
Advanced tools
Comparing version 0.21.0 to 0.22.0
{ | ||
"name": "@arianee/arianee-privacy-gateway-client", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"dependencies": { | ||
"ethers": "^6.6.0", | ||
"ethers": "6.7.0", | ||
"node-fetch": "^2.6.12" | ||
}, | ||
"peerDependencies": { | ||
"@arianee/arianee-access-token": "0.19.0", | ||
"@arianee/common-types": "0.24.0", | ||
"@arianee/core": "0.17.0", | ||
"@arianee/utils": "0.15.0", | ||
"@arianee/arianee-access-token": "0.20.0", | ||
"@arianee/common-types": "0.25.0", | ||
"@arianee/core": "0.18.0", | ||
"@arianee/utils": "0.16.0", | ||
"tslib": "2.5.0" | ||
@@ -14,0 +14,0 @@ }, |
@@ -0,3 +1,3 @@ | ||
import { ArianeeBrandIdentityI18N, ArianeeEventI18N, ArianeeMessageI18N, ArianeeProductCertificateI18N } from '@arianee/common-types'; | ||
import { Core } from '@arianee/core'; | ||
import { ArianeeBrandIdentityI18N, ArianeeEventI18N, ArianeeMessageI18N, ArianeeProductCertificateI18N } from '@arianee/common-types'; | ||
export type ArianeeAccessToken = string; | ||
@@ -53,5 +53,5 @@ export type RpcUrl = NonNullable<ArianeeBrandIdentityI18N['rpcEndpoint']>; | ||
}): Promise<ArianeeMessageI18N>; | ||
messageCreate(rpcUrl: RpcUrl, { messageId, content, }: { | ||
messageCreate(rpcUrl: RpcUrl, { messageId, content }: { | ||
messageId: string; | ||
content: ArianeeProductCertificateI18N; | ||
content: ArianeeMessageI18N; | ||
}): Promise<{ | ||
@@ -71,5 +71,5 @@ jsonrpc: string; | ||
}): Promise<ArianeeEventI18N>; | ||
eventCreate(rpcUrl: RpcUrl, { eventId, content, }: { | ||
eventCreate(rpcUrl: RpcUrl, { eventId, content }: { | ||
eventId: string; | ||
content: ArianeeProductCertificateI18N; | ||
content: ArianeeEventI18N; | ||
}): Promise<{ | ||
@@ -76,0 +76,0 @@ jsonrpc: string; |
@@ -5,4 +5,4 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const arianee_access_token_1 = require("@arianee/arianee-access-token"); | ||
const core_1 = require("@arianee/core"); | ||
const arianee_access_token_1 = require("@arianee/arianee-access-token"); | ||
const utils_1 = require("@arianee/utils"); | ||
@@ -134,3 +134,3 @@ class ArianeePrivacyGatewayClient { | ||
} | ||
messageCreate(rpcUrl, { messageId, content, }) { | ||
messageCreate(rpcUrl, { messageId, content }) { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
@@ -161,3 +161,3 @@ const res = yield this.rpcCall(rpcUrl, 'message.create', { | ||
} | ||
eventCreate(rpcUrl, { eventId, content, }) { | ||
eventCreate(rpcUrl, { eventId, content }) { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
@@ -164,0 +164,0 @@ const res = yield this.rpcCall(rpcUrl, 'event.create', { |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
17382
1
+ Added@adraffy/ens-normalize@1.9.2(transitive)
+ Added@arianee/arianee-access-token@0.20.0(transitive)
+ Added@arianee/common-types@0.25.0(transitive)
+ Added@arianee/core@0.18.0(transitive)
+ Added@arianee/utils@0.16.0(transitive)
+ Added@noble/hashes@1.1.2(transitive)
+ Added@noble/secp256k1@1.7.1(transitive)
+ Added@types/node@18.15.13(transitive)
+ Addedethers@6.7.0(transitive)
+ Addedtslib@2.4.0(transitive)
+ Addedws@8.5.0(transitive)
- Removed@adraffy/ens-normalize@1.10.1(transitive)
- Removed@arianee/arianee-access-token@0.19.0(transitive)
- Removed@arianee/common-types@0.24.0(transitive)
- Removed@arianee/core@0.17.0(transitive)
- Removed@arianee/utils@0.15.0(transitive)
- Removed@noble/curves@1.2.0(transitive)
- Removed@noble/hashes@1.3.2(transitive)
- Removed@types/node@22.7.5(transitive)
- Removedethers@6.13.4(transitive)
- Removedtslib@2.7.0(transitive)
- Removedundici-types@6.19.8(transitive)
- Removedws@8.17.1(transitive)
Updatedethers@6.7.0