Skip to content

Commit 3906cd2

Browse files
authored
Merge pull request #194 from matrix-org/kegan/js-lib
Use built JS files not TS
2 parents 3d45697 + d7f73a6 commit 3906cd2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

internal/api/js/js-sdk/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<script type="module">
66
import { Buffer } from "buffer";
77
window.Buffer = Buffer;
8-
import { VerificationPhase, VerifierEvent, decodeRecoveryKey, CryptoEvent } from "matrix-js-sdk/src/crypto-api";
8+
import { VerificationPhase, VerifierEvent, decodeRecoveryKey, CryptoEvent } from "matrix-js-sdk/lib/crypto-api";
99
window.decodeRecoveryKey = decodeRecoveryKey;
1010
window.VerificationPhase = VerificationPhase;
1111
window.VerifierEvent = VerifierEvent;
1212
window.CryptoEvent = CryptoEvent;
13-
import * as sdk from "matrix-js-sdk/src/index";
13+
import * as sdk from "matrix-js-sdk";
1414
window.matrix = sdk;
15-
import { IndexedDBStore, IndexedDBCryptoStore } from "matrix-js-sdk/src/matrix";
15+
import { IndexedDBStore, IndexedDBCryptoStore } from "matrix-js-sdk";
1616
window.IndexedDBCryptoStore = IndexedDBCryptoStore;
1717
window.IndexedDBStore = IndexedDBStore;
1818
</script>
@@ -21,4 +21,4 @@
2121
<body>
2222
</body>
2323

24-
</html>
24+
</html>

0 commit comments

Comments
 (0)