@webref/idl 3.66.3 → 3.67.0
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/css-view-transitions.idl
CHANGED
|
@@ -1,14 +1,38 @@
|
|
|
1
1
|
// GENERATED CONTENT - DO NOT EDIT
|
|
2
2
|
// Content was automatically extracted by Reffy into webref
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: CSS View Transitions Module Level
|
|
4
|
+
// Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface CSSViewTransitionRule : CSSRule {
|
|
8
|
+
readonly attribute CSSOMString navigation;
|
|
9
|
+
[SameObject] readonly attribute FrozenArray<CSSOMString> types;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
partial interface Document {
|
|
13
|
+
ViewTransition startViewTransition(
|
|
14
|
+
optional (ViewTransitionUpdateCallback or StartViewTransitionOptions) callbackOptions = {}
|
|
15
|
+
);
|
|
16
|
+
readonly attribute ViewTransition? activeViewTransition;
|
|
17
|
+
};
|
|
5
18
|
|
|
6
19
|
callback ViewTransitionUpdateCallback = Promise<any> ();
|
|
7
20
|
|
|
21
|
+
dictionary StartViewTransitionOptions {
|
|
22
|
+
ViewTransitionUpdateCallback? update = null;
|
|
23
|
+
sequence<DOMString>? types = null;
|
|
24
|
+
};
|
|
25
|
+
|
|
8
26
|
[Exposed=Window]
|
|
9
27
|
interface ViewTransition {
|
|
10
28
|
readonly attribute Promise<undefined> updateCallbackDone;
|
|
11
29
|
readonly attribute Promise<undefined> ready;
|
|
12
30
|
readonly attribute Promise<undefined> finished;
|
|
13
31
|
undefined skipTransition();
|
|
32
|
+
attribute ViewTransitionTypeSet types;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
[Exposed=Window]
|
|
36
|
+
interface ViewTransitionTypeSet {
|
|
37
|
+
setlike<DOMString>;
|
|
14
38
|
};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
// GENERATED CONTENT - DO NOT EDIT
|
|
2
2
|
// Content was automatically extracted by Reffy into webref
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source:
|
|
4
|
+
// Source: Local Network Access (https://wicg.github.io/local-network-access/)
|
|
5
5
|
|
|
6
|
-
enum IPAddressSpace { "public", "
|
|
7
|
-
|
|
8
|
-
dictionary PrivateNetworkAccessPermissionDescriptor
|
|
9
|
-
: PermissionDescriptor {
|
|
10
|
-
DOMString id;
|
|
11
|
-
};
|
|
6
|
+
enum IPAddressSpace { "public", "local", "loopback" };
|
|
12
7
|
|
|
13
8
|
partial dictionary RequestInit {
|
|
14
9
|
IPAddressSpace targetAddressSpace;
|
package/package.json
CHANGED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Modern Algorithms in the Web Cryptography API (https://wicg.github.io/webcrypto-modern-algos/)
|
|
5
|
+
|
|
6
|
+
[SecureContext,Exposed=(Window,Worker)]
|
|
7
|
+
partial interface SubtleCrypto {
|
|
8
|
+
Promise<EncapsulatedKey> encapsulateKey(
|
|
9
|
+
AlgorithmIdentifier encapsulationAlgorithm,
|
|
10
|
+
CryptoKey encapsulationKey,
|
|
11
|
+
AlgorithmIdentifier sharedKeyAlgorithm,
|
|
12
|
+
boolean extractable,
|
|
13
|
+
sequence<KeyUsage> keyUsages
|
|
14
|
+
);
|
|
15
|
+
Promise<EncapsulatedBits> encapsulateBits(
|
|
16
|
+
AlgorithmIdentifier encapsulationAlgorithm,
|
|
17
|
+
CryptoKey encapsulationKey
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
Promise<CryptoKey> decapsulateKey(
|
|
21
|
+
AlgorithmIdentifier decapsulationAlgorithm,
|
|
22
|
+
CryptoKey decapsulationKey,
|
|
23
|
+
BufferSource ciphertext,
|
|
24
|
+
AlgorithmIdentifier sharedKeyAlgorithm,
|
|
25
|
+
boolean extractable,
|
|
26
|
+
sequence<KeyUsage> keyUsages
|
|
27
|
+
);
|
|
28
|
+
Promise<ArrayBuffer> decapsulateBits(
|
|
29
|
+
AlgorithmIdentifier decapsulationAlgorithm,
|
|
30
|
+
CryptoKey decapsulationKey,
|
|
31
|
+
BufferSource ciphertext
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
Promise<CryptoKey> getPublicKey(
|
|
35
|
+
CryptoKey key,
|
|
36
|
+
sequence<KeyUsage> keyUsages
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
static boolean supports(DOMString operation,
|
|
40
|
+
AlgorithmIdentifier algorithm,
|
|
41
|
+
optional unsigned long? length = null);
|
|
42
|
+
static boolean supports(DOMString operation,
|
|
43
|
+
AlgorithmIdentifier algorithm,
|
|
44
|
+
AlgorithmIdentifier additionalAlgorithm);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
enum KeyFormat { "raw-public", "raw-private", "raw-seed", "raw-secret", "raw", "spki", "pkcs8", "jwk" };
|
|
48
|
+
|
|
49
|
+
enum KeyUsage { "encrypt", "decrypt", "sign", "verify", "deriveKey", "deriveBits", "wrapKey", "unwrapKey", "encapsulateKey", "encapsulateBits", "decapsulateKey", "decapsulateBits" };
|
|
50
|
+
|
|
51
|
+
dictionary EncapsulatedKey {
|
|
52
|
+
CryptoKey sharedKey;
|
|
53
|
+
ArrayBuffer ciphertext;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
dictionary EncapsulatedBits {
|
|
57
|
+
ArrayBuffer sharedKey;
|
|
58
|
+
ArrayBuffer ciphertext;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
partial dictionary JsonWebKey {
|
|
62
|
+
// The following fields are defined in draft-ietf-cose-dilithium-07
|
|
63
|
+
DOMString pub;
|
|
64
|
+
DOMString priv;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
dictionary ContextParams : Algorithm {
|
|
68
|
+
BufferSource context;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
dictionary AeadParams : Algorithm {
|
|
72
|
+
required BufferSource iv;
|
|
73
|
+
BufferSource additionalData;
|
|
74
|
+
[EnforceRange] octet tagLength;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
dictionary CShakeParams : Algorithm {
|
|
78
|
+
required [EnforceRange] unsigned long length;
|
|
79
|
+
BufferSource functionName;
|
|
80
|
+
BufferSource customization;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
dictionary KmacKeyGenParams : Algorithm {
|
|
84
|
+
[EnforceRange] unsigned long length;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
dictionary KmacImportParams : Algorithm {
|
|
88
|
+
[EnforceRange] unsigned long length;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
dictionary KmacKeyAlgorithm : KeyAlgorithm {
|
|
92
|
+
required unsigned long length;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
dictionary KmacParams : Algorithm {
|
|
96
|
+
required [EnforceRange] unsigned long length;
|
|
97
|
+
BufferSource customization;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
dictionary Argon2Params : Algorithm {
|
|
101
|
+
required BufferSource nonce;
|
|
102
|
+
required [EnforceRange] unsigned long parallelism;
|
|
103
|
+
required [EnforceRange] unsigned long memory;
|
|
104
|
+
required [EnforceRange] unsigned long passes;
|
|
105
|
+
[EnforceRange] octet version;
|
|
106
|
+
BufferSource secretValue;
|
|
107
|
+
BufferSource associatedData;
|
|
108
|
+
};
|
package/webcrypto.idl
CHANGED
|
@@ -28,8 +28,6 @@ dictionary KeyAlgorithm {
|
|
|
28
28
|
|
|
29
29
|
enum KeyType { "public", "private", "secret" };
|
|
30
30
|
|
|
31
|
-
enum KeyUsage { "encrypt", "decrypt", "sign", "verify", "deriveKey", "deriveBits", "wrapKey", "unwrapKey" };
|
|
32
|
-
|
|
33
31
|
[SecureContext,Exposed=(Window,Worker),Serializable]
|
|
34
32
|
interface CryptoKey {
|
|
35
33
|
readonly attribute KeyType type;
|
|
@@ -38,8 +36,6 @@ interface CryptoKey {
|
|
|
38
36
|
readonly attribute object usages;
|
|
39
37
|
};
|
|
40
38
|
|
|
41
|
-
enum KeyFormat { "raw", "spki", "pkcs8", "jwk" };
|
|
42
|
-
|
|
43
39
|
[SecureContext,Exposed=(Window,Worker)]
|
|
44
40
|
interface SubtleCrypto {
|
|
45
41
|
Promise<ArrayBuffer> encrypt(
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
|
|
5
|
-
|
|
6
|
-
[Exposed=Window]
|
|
7
|
-
interface CSSViewTransitionRule : CSSRule {
|
|
8
|
-
readonly attribute CSSOMString navigation;
|
|
9
|
-
[SameObject] readonly attribute FrozenArray<CSSOMString> types;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
[Exposed=Window]
|
|
13
|
-
interface ViewTransitionTypeSet {
|
|
14
|
-
setlike<DOMString>;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
[Exposed=Window]
|
|
18
|
-
partial interface ViewTransition {
|
|
19
|
-
attribute ViewTransitionTypeSet types;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
dictionary StartViewTransitionOptions {
|
|
23
|
-
ViewTransitionUpdateCallback? update = null;
|
|
24
|
-
sequence<DOMString>? types = null;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
partial interface Document {
|
|
28
|
-
ViewTransition startViewTransition(optional (ViewTransitionUpdateCallback or StartViewTransitionOptions) callbackOptions = {});
|
|
29
|
-
};
|