@agora-sdk/secure-chat-crypto 0.1.1 → 0.1.2
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/cjs/index.d.ts +1 -1
- package/dist/cjs/mock-crypto.d.ts +1 -1
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/testing.d.ts +1 -1
- package/dist/cjs/testing.js +2 -2
- package/dist/cjs/testing.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/mock-crypto.d.ts +1 -1
- package/dist/esm/testing.d.ts +1 -1
- package/dist/esm/testing.js +1 -1
- package/dist/esm/testing.js.map +1 -1
- package/package.json +2 -2
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { SecureChatCrypto, DeviceIdentity, KeyPackageBundle, GroupHandle, TargetedWelcome, CommitResult, PassphraseBackup, } from "./interface";
|
|
1
|
+
export type { SecureChatCrypto, DeviceIdentity, KeyPackageBundle, GroupHandle, TargetedWelcome, CommitResult, PassphraseBackup, } from "./interface.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SecureChatCrypto, DeviceIdentity, KeyPackageBundle, GroupHandle, CommitResult, PassphraseBackup, TargetedWelcome } from "./interface";
|
|
1
|
+
import type { SecureChatCrypto, DeviceIdentity, KeyPackageBundle, GroupHandle, CommitResult, PassphraseBackup, TargetedWelcome } from "./interface.js";
|
|
2
2
|
export declare class MockSecureChatCrypto implements SecureChatCrypto {
|
|
3
3
|
private identity?;
|
|
4
4
|
private privateState?;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
package/dist/cjs/testing.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MockSecureChatCrypto } from "./mock-crypto";
|
|
1
|
+
export { MockSecureChatCrypto } from "./mock-crypto.js";
|
package/dist/cjs/testing.js
CHANGED
|
@@ -5,6 +5,6 @@ exports.MockSecureChatCrypto = void 0;
|
|
|
5
5
|
//
|
|
6
6
|
// NOT cryptographically secure. Use it in tests and early UI work (and the agora-server integration
|
|
7
7
|
// suite consumes it from here). Never ship it as production crypto.
|
|
8
|
-
var
|
|
9
|
-
Object.defineProperty(exports, "MockSecureChatCrypto", { enumerable: true, get: function () { return
|
|
8
|
+
var mock_crypto_js_1 = require("./mock-crypto.js");
|
|
9
|
+
Object.defineProperty(exports, "MockSecureChatCrypto", { enumerable: true, get: function () { return mock_crypto_js_1.MockSecureChatCrypto; } });
|
|
10
10
|
//# sourceMappingURL=testing.js.map
|
package/dist/cjs/testing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../src/testing.ts"],"names":[],"mappings":";;;AAAA,2FAA2F;AAC3F,EAAE;AACF,oGAAoG;AACpG,oEAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../src/testing.ts"],"names":[],"mappings":";;;AAAA,2FAA2F;AAC3F,EAAE;AACF,oGAAoG;AACpG,oEAAoE;AACpE,mDAAwD;AAA/C,sHAAA,oBAAoB,OAAA"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { SecureChatCrypto, DeviceIdentity, KeyPackageBundle, GroupHandle, TargetedWelcome, CommitResult, PassphraseBackup, } from "./interface";
|
|
1
|
+
export type { SecureChatCrypto, DeviceIdentity, KeyPackageBundle, GroupHandle, TargetedWelcome, CommitResult, PassphraseBackup, } from "./interface.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SecureChatCrypto, DeviceIdentity, KeyPackageBundle, GroupHandle, CommitResult, PassphraseBackup, TargetedWelcome } from "./interface";
|
|
1
|
+
import type { SecureChatCrypto, DeviceIdentity, KeyPackageBundle, GroupHandle, CommitResult, PassphraseBackup, TargetedWelcome } from "./interface.js";
|
|
2
2
|
export declare class MockSecureChatCrypto implements SecureChatCrypto {
|
|
3
3
|
private identity?;
|
|
4
4
|
private privateState?;
|
package/dist/esm/testing.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MockSecureChatCrypto } from "./mock-crypto";
|
|
1
|
+
export { MockSecureChatCrypto } from "./mock-crypto.js";
|
package/dist/esm/testing.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
//
|
|
3
3
|
// NOT cryptographically secure. Use it in tests and early UI work (and the agora-server integration
|
|
4
4
|
// suite consumes it from here). Never ship it as production crypto.
|
|
5
|
-
export { MockSecureChatCrypto } from "./mock-crypto";
|
|
5
|
+
export { MockSecureChatCrypto } from "./mock-crypto.js";
|
|
6
6
|
//# sourceMappingURL=testing.js.map
|
package/dist/esm/testing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../src/testing.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,EAAE;AACF,oGAAoG;AACpG,oEAAoE;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"testing.js","sourceRoot":"","sources":["../../src/testing.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,EAAE;AACF,oGAAoG;AACpG,oEAAoE;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agora-sdk/secure-chat-crypto",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Agora SDK Plus, maintained by Jenova Marie",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
],
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
50
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
50
|
+
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
51
51
|
"build": "rimraf dist && pnpm run build:esm && pnpm run build:cjs",
|
|
52
52
|
"prepublish": "pnpm run build"
|
|
53
53
|
}
|