tabris 3.9.0-dev.20220524 → 3.9.0-dev.20220525
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/boot.js +1 -1
- package/package.json +1 -1
- package/tabris.d.ts +1 -1
- package/tabris.js +5 -4
- package/tabris.min.js +1 -1
package/boot.js
CHANGED
package/package.json
CHANGED
package/tabris.d.ts
CHANGED
package/tabris.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Tabris.js 3.9.0-dev.
|
|
2
|
+
* Tabris.js 3.9.0-dev.20220525+0310
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2014, 2020 EclipseSource Inc.
|
|
5
5
|
* All rights reserved.
|
|
@@ -5026,7 +5026,7 @@ class Tabris extends NativeObject {
|
|
|
5026
5026
|
this.$publishProxies();
|
|
5027
5027
|
}
|
|
5028
5028
|
get version() {
|
|
5029
|
-
return '3.9.0-dev.
|
|
5029
|
+
return '3.9.0-dev.20220525+0310';
|
|
5030
5030
|
}
|
|
5031
5031
|
get started() {
|
|
5032
5032
|
return !!this._started;
|
|
@@ -10442,7 +10442,7 @@ class _CryptoKey extends NativeObject {
|
|
|
10442
10442
|
}
|
|
10443
10443
|
else {
|
|
10444
10444
|
return this._nativeCall('derive', {
|
|
10445
|
-
algorithm,
|
|
10445
|
+
algorithm: Object.assign(Object.assign({}, algorithm), { salt: getBuffer(algorithm.salt), info: getBuffer(algorithm.info) }),
|
|
10446
10446
|
baseKey: getCid(baseKey),
|
|
10447
10447
|
derivedKeyAlgorithm,
|
|
10448
10448
|
extractable,
|
|
@@ -10540,13 +10540,14 @@ class SubtleCrypto {
|
|
|
10540
10540
|
if (arguments.length !== 5) {
|
|
10541
10541
|
throw new TypeError(`Expected 5 arguments, got ${arguments.length}`);
|
|
10542
10542
|
}
|
|
10543
|
-
allowOnlyKeys(algorithm, ['name', 'namedCurve', 'public', '
|
|
10543
|
+
allowOnlyKeys(algorithm, ['name', 'namedCurve', 'public', 'hash', 'salt', 'info']);
|
|
10544
10544
|
allowOnlyValues(algorithm.name, ['ECDH', 'HKDF'], 'algorithm.name');
|
|
10545
10545
|
if (algorithm.name === 'ECDH') {
|
|
10546
10546
|
allowOnlyValues(algorithm.namedCurve, ['P-256'], 'algorithm.namedCurve');
|
|
10547
10547
|
checkType(algorithm.public, CryptoKey, { name: 'algorithm.public' });
|
|
10548
10548
|
}
|
|
10549
10549
|
else if (algorithm.name === 'HKDF') {
|
|
10550
|
+
checkType(algorithm.hash, String, { name: 'algorithm.hash' });
|
|
10550
10551
|
checkType(getBuffer(algorithm.salt), ArrayBuffer, { name: 'algorithm.salt' });
|
|
10551
10552
|
checkType(getBuffer(algorithm.info), ArrayBuffer, { name: 'algorithm.info' });
|
|
10552
10553
|
}
|