@cloudflare/workers-types 4.20231002.0 → 4.20231016.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/2021-11-03/index.d.ts +19 -1
- package/2021-11-03/index.ts +19 -1
- package/2022-01-31/index.d.ts +19 -1
- package/2022-01-31/index.ts +19 -1
- package/2022-03-21/index.d.ts +19 -1
- package/2022-03-21/index.ts +19 -1
- package/2022-08-04/index.d.ts +19 -1
- package/2022-08-04/index.ts +19 -1
- package/2022-10-31/index.d.ts +19 -1
- package/2022-10-31/index.ts +19 -1
- package/2022-11-30/index.d.ts +19 -1
- package/2022-11-30/index.ts +19 -1
- package/2023-03-01/index.d.ts +19 -1
- package/2023-03-01/index.ts +19 -1
- package/2023-07-01/index.d.ts +19 -1
- package/2023-07-01/index.ts +19 -1
- package/experimental/index.d.ts +19 -1
- package/experimental/index.ts +19 -1
- package/index.d.ts +19 -1
- package/index.ts +19 -1
- package/oldest/index.d.ts +19 -1
- package/oldest/index.ts +19 -1
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -627,6 +628,16 @@ declare interface SchedulerWaitOptions {
|
|
|
627
628
|
declare abstract class ExtendableEvent extends Event {
|
|
628
629
|
waitUntil(promise: Promise<any>): void;
|
|
629
630
|
}
|
|
631
|
+
declare class CustomEvent extends Event {
|
|
632
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
633
|
+
get detail(): any | undefined;
|
|
634
|
+
}
|
|
635
|
+
declare interface CustomEventCustomEventInit {
|
|
636
|
+
bubbles?: boolean;
|
|
637
|
+
cancelable?: boolean;
|
|
638
|
+
composed?: boolean;
|
|
639
|
+
detail?: any;
|
|
640
|
+
}
|
|
630
641
|
declare class Blob {
|
|
631
642
|
constructor(
|
|
632
643
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -855,7 +866,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
855
866
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
856
867
|
name: string;
|
|
857
868
|
modulusLength: number;
|
|
858
|
-
publicExponent: ArrayBuffer;
|
|
869
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
859
870
|
hash?: CryptoKeyKeyAlgorithm;
|
|
860
871
|
}
|
|
861
872
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1703,6 +1714,7 @@ declare interface TraceItem {
|
|
|
1703
1714
|
| TraceItemAlarmEventInfo
|
|
1704
1715
|
| TraceItemQueueEventInfo
|
|
1705
1716
|
| TraceItemEmailEventInfo
|
|
1717
|
+
| TraceItemTailEventInfo
|
|
1706
1718
|
| TraceItemCustomEventInfo
|
|
1707
1719
|
)
|
|
1708
1720
|
| null;
|
|
@@ -1732,6 +1744,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1732
1744
|
readonly rcptTo: string;
|
|
1733
1745
|
readonly rawSize: number;
|
|
1734
1746
|
}
|
|
1747
|
+
declare interface TraceItemTailEventInfo {
|
|
1748
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1749
|
+
}
|
|
1750
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1751
|
+
readonly scriptName: string | null;
|
|
1752
|
+
}
|
|
1735
1753
|
declare interface TraceItemFetchEventInfo {
|
|
1736
1754
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1737
1755
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2021-11-03/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -629,6 +630,16 @@ export interface SchedulerWaitOptions {
|
|
|
629
630
|
export declare abstract class ExtendableEvent extends Event {
|
|
630
631
|
waitUntil(promise: Promise<any>): void;
|
|
631
632
|
}
|
|
633
|
+
export declare class CustomEvent extends Event {
|
|
634
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
635
|
+
get detail(): any | undefined;
|
|
636
|
+
}
|
|
637
|
+
export interface CustomEventCustomEventInit {
|
|
638
|
+
bubbles?: boolean;
|
|
639
|
+
cancelable?: boolean;
|
|
640
|
+
composed?: boolean;
|
|
641
|
+
detail?: any;
|
|
642
|
+
}
|
|
632
643
|
export declare class Blob {
|
|
633
644
|
constructor(
|
|
634
645
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -857,7 +868,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
857
868
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
858
869
|
name: string;
|
|
859
870
|
modulusLength: number;
|
|
860
|
-
publicExponent: ArrayBuffer;
|
|
871
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
861
872
|
hash?: CryptoKeyKeyAlgorithm;
|
|
862
873
|
}
|
|
863
874
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1708,6 +1719,7 @@ export interface TraceItem {
|
|
|
1708
1719
|
| TraceItemAlarmEventInfo
|
|
1709
1720
|
| TraceItemQueueEventInfo
|
|
1710
1721
|
| TraceItemEmailEventInfo
|
|
1722
|
+
| TraceItemTailEventInfo
|
|
1711
1723
|
| TraceItemCustomEventInfo
|
|
1712
1724
|
)
|
|
1713
1725
|
| null;
|
|
@@ -1737,6 +1749,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1737
1749
|
readonly rcptTo: string;
|
|
1738
1750
|
readonly rawSize: number;
|
|
1739
1751
|
}
|
|
1752
|
+
export interface TraceItemTailEventInfo {
|
|
1753
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1754
|
+
}
|
|
1755
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1756
|
+
readonly scriptName: string | null;
|
|
1757
|
+
}
|
|
1740
1758
|
export interface TraceItemFetchEventInfo {
|
|
1741
1759
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1742
1760
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -615,6 +616,16 @@ declare interface SchedulerWaitOptions {
|
|
|
615
616
|
declare abstract class ExtendableEvent extends Event {
|
|
616
617
|
waitUntil(promise: Promise<any>): void;
|
|
617
618
|
}
|
|
619
|
+
declare class CustomEvent extends Event {
|
|
620
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
621
|
+
get detail(): any | undefined;
|
|
622
|
+
}
|
|
623
|
+
declare interface CustomEventCustomEventInit {
|
|
624
|
+
bubbles?: boolean;
|
|
625
|
+
cancelable?: boolean;
|
|
626
|
+
composed?: boolean;
|
|
627
|
+
detail?: any;
|
|
628
|
+
}
|
|
618
629
|
declare class Blob {
|
|
619
630
|
constructor(
|
|
620
631
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -842,7 +853,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
842
853
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
843
854
|
name: string;
|
|
844
855
|
modulusLength: number;
|
|
845
|
-
publicExponent: ArrayBuffer;
|
|
856
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
846
857
|
hash?: CryptoKeyKeyAlgorithm;
|
|
847
858
|
}
|
|
848
859
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1683,6 +1694,7 @@ declare interface TraceItem {
|
|
|
1683
1694
|
| TraceItemAlarmEventInfo
|
|
1684
1695
|
| TraceItemQueueEventInfo
|
|
1685
1696
|
| TraceItemEmailEventInfo
|
|
1697
|
+
| TraceItemTailEventInfo
|
|
1686
1698
|
| TraceItemCustomEventInfo
|
|
1687
1699
|
)
|
|
1688
1700
|
| null;
|
|
@@ -1712,6 +1724,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1712
1724
|
readonly rcptTo: string;
|
|
1713
1725
|
readonly rawSize: number;
|
|
1714
1726
|
}
|
|
1727
|
+
declare interface TraceItemTailEventInfo {
|
|
1728
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1729
|
+
}
|
|
1730
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1731
|
+
readonly scriptName: string | null;
|
|
1732
|
+
}
|
|
1715
1733
|
declare interface TraceItemFetchEventInfo {
|
|
1716
1734
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1717
1735
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2022-01-31/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -617,6 +618,16 @@ export interface SchedulerWaitOptions {
|
|
|
617
618
|
export declare abstract class ExtendableEvent extends Event {
|
|
618
619
|
waitUntil(promise: Promise<any>): void;
|
|
619
620
|
}
|
|
621
|
+
export declare class CustomEvent extends Event {
|
|
622
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
623
|
+
get detail(): any | undefined;
|
|
624
|
+
}
|
|
625
|
+
export interface CustomEventCustomEventInit {
|
|
626
|
+
bubbles?: boolean;
|
|
627
|
+
cancelable?: boolean;
|
|
628
|
+
composed?: boolean;
|
|
629
|
+
detail?: any;
|
|
630
|
+
}
|
|
620
631
|
export declare class Blob {
|
|
621
632
|
constructor(
|
|
622
633
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -844,7 +855,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
844
855
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
845
856
|
name: string;
|
|
846
857
|
modulusLength: number;
|
|
847
|
-
publicExponent: ArrayBuffer;
|
|
858
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
848
859
|
hash?: CryptoKeyKeyAlgorithm;
|
|
849
860
|
}
|
|
850
861
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1688,6 +1699,7 @@ export interface TraceItem {
|
|
|
1688
1699
|
| TraceItemAlarmEventInfo
|
|
1689
1700
|
| TraceItemQueueEventInfo
|
|
1690
1701
|
| TraceItemEmailEventInfo
|
|
1702
|
+
| TraceItemTailEventInfo
|
|
1691
1703
|
| TraceItemCustomEventInfo
|
|
1692
1704
|
)
|
|
1693
1705
|
| null;
|
|
@@ -1717,6 +1729,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1717
1729
|
readonly rcptTo: string;
|
|
1718
1730
|
readonly rawSize: number;
|
|
1719
1731
|
}
|
|
1732
|
+
export interface TraceItemTailEventInfo {
|
|
1733
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1734
|
+
}
|
|
1735
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1736
|
+
readonly scriptName: string | null;
|
|
1737
|
+
}
|
|
1720
1738
|
export interface TraceItemFetchEventInfo {
|
|
1721
1739
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1722
1740
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -622,6 +623,16 @@ declare interface SchedulerWaitOptions {
|
|
|
622
623
|
declare abstract class ExtendableEvent extends Event {
|
|
623
624
|
waitUntil(promise: Promise<any>): void;
|
|
624
625
|
}
|
|
626
|
+
declare class CustomEvent extends Event {
|
|
627
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
628
|
+
get detail(): any | undefined;
|
|
629
|
+
}
|
|
630
|
+
declare interface CustomEventCustomEventInit {
|
|
631
|
+
bubbles?: boolean;
|
|
632
|
+
cancelable?: boolean;
|
|
633
|
+
composed?: boolean;
|
|
634
|
+
detail?: any;
|
|
635
|
+
}
|
|
625
636
|
declare class Blob {
|
|
626
637
|
constructor(
|
|
627
638
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -849,7 +860,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
849
860
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
850
861
|
name: string;
|
|
851
862
|
modulusLength: number;
|
|
852
|
-
publicExponent: ArrayBuffer;
|
|
863
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
853
864
|
hash?: CryptoKeyKeyAlgorithm;
|
|
854
865
|
}
|
|
855
866
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1690,6 +1701,7 @@ declare interface TraceItem {
|
|
|
1690
1701
|
| TraceItemAlarmEventInfo
|
|
1691
1702
|
| TraceItemQueueEventInfo
|
|
1692
1703
|
| TraceItemEmailEventInfo
|
|
1704
|
+
| TraceItemTailEventInfo
|
|
1693
1705
|
| TraceItemCustomEventInfo
|
|
1694
1706
|
)
|
|
1695
1707
|
| null;
|
|
@@ -1719,6 +1731,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1719
1731
|
readonly rcptTo: string;
|
|
1720
1732
|
readonly rawSize: number;
|
|
1721
1733
|
}
|
|
1734
|
+
declare interface TraceItemTailEventInfo {
|
|
1735
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1736
|
+
}
|
|
1737
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1738
|
+
readonly scriptName: string | null;
|
|
1739
|
+
}
|
|
1722
1740
|
declare interface TraceItemFetchEventInfo {
|
|
1723
1741
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1724
1742
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2022-03-21/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -624,6 +625,16 @@ export interface SchedulerWaitOptions {
|
|
|
624
625
|
export declare abstract class ExtendableEvent extends Event {
|
|
625
626
|
waitUntil(promise: Promise<any>): void;
|
|
626
627
|
}
|
|
628
|
+
export declare class CustomEvent extends Event {
|
|
629
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
630
|
+
get detail(): any | undefined;
|
|
631
|
+
}
|
|
632
|
+
export interface CustomEventCustomEventInit {
|
|
633
|
+
bubbles?: boolean;
|
|
634
|
+
cancelable?: boolean;
|
|
635
|
+
composed?: boolean;
|
|
636
|
+
detail?: any;
|
|
637
|
+
}
|
|
627
638
|
export declare class Blob {
|
|
628
639
|
constructor(
|
|
629
640
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -851,7 +862,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
851
862
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
852
863
|
name: string;
|
|
853
864
|
modulusLength: number;
|
|
854
|
-
publicExponent: ArrayBuffer;
|
|
865
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
855
866
|
hash?: CryptoKeyKeyAlgorithm;
|
|
856
867
|
}
|
|
857
868
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1695,6 +1706,7 @@ export interface TraceItem {
|
|
|
1695
1706
|
| TraceItemAlarmEventInfo
|
|
1696
1707
|
| TraceItemQueueEventInfo
|
|
1697
1708
|
| TraceItemEmailEventInfo
|
|
1709
|
+
| TraceItemTailEventInfo
|
|
1698
1710
|
| TraceItemCustomEventInfo
|
|
1699
1711
|
)
|
|
1700
1712
|
| null;
|
|
@@ -1724,6 +1736,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1724
1736
|
readonly rcptTo: string;
|
|
1725
1737
|
readonly rawSize: number;
|
|
1726
1738
|
}
|
|
1739
|
+
export interface TraceItemTailEventInfo {
|
|
1740
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1741
|
+
}
|
|
1742
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1743
|
+
readonly scriptName: string | null;
|
|
1744
|
+
}
|
|
1727
1745
|
export interface TraceItemFetchEventInfo {
|
|
1728
1746
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1729
1747
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -622,6 +623,16 @@ declare interface SchedulerWaitOptions {
|
|
|
622
623
|
declare abstract class ExtendableEvent extends Event {
|
|
623
624
|
waitUntil(promise: Promise<any>): void;
|
|
624
625
|
}
|
|
626
|
+
declare class CustomEvent extends Event {
|
|
627
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
628
|
+
get detail(): any | undefined;
|
|
629
|
+
}
|
|
630
|
+
declare interface CustomEventCustomEventInit {
|
|
631
|
+
bubbles?: boolean;
|
|
632
|
+
cancelable?: boolean;
|
|
633
|
+
composed?: boolean;
|
|
634
|
+
detail?: any;
|
|
635
|
+
}
|
|
625
636
|
declare class Blob {
|
|
626
637
|
constructor(
|
|
627
638
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -849,7 +860,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
849
860
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
850
861
|
name: string;
|
|
851
862
|
modulusLength: number;
|
|
852
|
-
publicExponent: ArrayBuffer;
|
|
863
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
853
864
|
hash?: CryptoKeyKeyAlgorithm;
|
|
854
865
|
}
|
|
855
866
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1691,6 +1702,7 @@ declare interface TraceItem {
|
|
|
1691
1702
|
| TraceItemAlarmEventInfo
|
|
1692
1703
|
| TraceItemQueueEventInfo
|
|
1693
1704
|
| TraceItemEmailEventInfo
|
|
1705
|
+
| TraceItemTailEventInfo
|
|
1694
1706
|
| TraceItemCustomEventInfo
|
|
1695
1707
|
)
|
|
1696
1708
|
| null;
|
|
@@ -1720,6 +1732,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1720
1732
|
readonly rcptTo: string;
|
|
1721
1733
|
readonly rawSize: number;
|
|
1722
1734
|
}
|
|
1735
|
+
declare interface TraceItemTailEventInfo {
|
|
1736
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1737
|
+
}
|
|
1738
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1739
|
+
readonly scriptName: string | null;
|
|
1740
|
+
}
|
|
1723
1741
|
declare interface TraceItemFetchEventInfo {
|
|
1724
1742
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1725
1743
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2022-08-04/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -624,6 +625,16 @@ export interface SchedulerWaitOptions {
|
|
|
624
625
|
export declare abstract class ExtendableEvent extends Event {
|
|
625
626
|
waitUntil(promise: Promise<any>): void;
|
|
626
627
|
}
|
|
628
|
+
export declare class CustomEvent extends Event {
|
|
629
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
630
|
+
get detail(): any | undefined;
|
|
631
|
+
}
|
|
632
|
+
export interface CustomEventCustomEventInit {
|
|
633
|
+
bubbles?: boolean;
|
|
634
|
+
cancelable?: boolean;
|
|
635
|
+
composed?: boolean;
|
|
636
|
+
detail?: any;
|
|
637
|
+
}
|
|
627
638
|
export declare class Blob {
|
|
628
639
|
constructor(
|
|
629
640
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -851,7 +862,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
851
862
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
852
863
|
name: string;
|
|
853
864
|
modulusLength: number;
|
|
854
|
-
publicExponent: ArrayBuffer;
|
|
865
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
855
866
|
hash?: CryptoKeyKeyAlgorithm;
|
|
856
867
|
}
|
|
857
868
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1696,6 +1707,7 @@ export interface TraceItem {
|
|
|
1696
1707
|
| TraceItemAlarmEventInfo
|
|
1697
1708
|
| TraceItemQueueEventInfo
|
|
1698
1709
|
| TraceItemEmailEventInfo
|
|
1710
|
+
| TraceItemTailEventInfo
|
|
1699
1711
|
| TraceItemCustomEventInfo
|
|
1700
1712
|
)
|
|
1701
1713
|
| null;
|
|
@@ -1725,6 +1737,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1725
1737
|
readonly rcptTo: string;
|
|
1726
1738
|
readonly rawSize: number;
|
|
1727
1739
|
}
|
|
1740
|
+
export interface TraceItemTailEventInfo {
|
|
1741
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1742
|
+
}
|
|
1743
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1744
|
+
readonly scriptName: string | null;
|
|
1745
|
+
}
|
|
1728
1746
|
export interface TraceItemFetchEventInfo {
|
|
1729
1747
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1730
1748
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -622,6 +623,16 @@ declare interface SchedulerWaitOptions {
|
|
|
622
623
|
declare abstract class ExtendableEvent extends Event {
|
|
623
624
|
waitUntil(promise: Promise<any>): void;
|
|
624
625
|
}
|
|
626
|
+
declare class CustomEvent extends Event {
|
|
627
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
628
|
+
get detail(): any | undefined;
|
|
629
|
+
}
|
|
630
|
+
declare interface CustomEventCustomEventInit {
|
|
631
|
+
bubbles?: boolean;
|
|
632
|
+
cancelable?: boolean;
|
|
633
|
+
composed?: boolean;
|
|
634
|
+
detail?: any;
|
|
635
|
+
}
|
|
625
636
|
declare class Blob {
|
|
626
637
|
constructor(
|
|
627
638
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -849,7 +860,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
849
860
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
850
861
|
name: string;
|
|
851
862
|
modulusLength: number;
|
|
852
|
-
publicExponent: ArrayBuffer;
|
|
863
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
853
864
|
hash?: CryptoKeyKeyAlgorithm;
|
|
854
865
|
}
|
|
855
866
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1691,6 +1702,7 @@ declare interface TraceItem {
|
|
|
1691
1702
|
| TraceItemAlarmEventInfo
|
|
1692
1703
|
| TraceItemQueueEventInfo
|
|
1693
1704
|
| TraceItemEmailEventInfo
|
|
1705
|
+
| TraceItemTailEventInfo
|
|
1694
1706
|
| TraceItemCustomEventInfo
|
|
1695
1707
|
)
|
|
1696
1708
|
| null;
|
|
@@ -1720,6 +1732,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1720
1732
|
readonly rcptTo: string;
|
|
1721
1733
|
readonly rawSize: number;
|
|
1722
1734
|
}
|
|
1735
|
+
declare interface TraceItemTailEventInfo {
|
|
1736
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1737
|
+
}
|
|
1738
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1739
|
+
readonly scriptName: string | null;
|
|
1740
|
+
}
|
|
1723
1741
|
declare interface TraceItemFetchEventInfo {
|
|
1724
1742
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1725
1743
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2022-10-31/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -624,6 +625,16 @@ export interface SchedulerWaitOptions {
|
|
|
624
625
|
export declare abstract class ExtendableEvent extends Event {
|
|
625
626
|
waitUntil(promise: Promise<any>): void;
|
|
626
627
|
}
|
|
628
|
+
export declare class CustomEvent extends Event {
|
|
629
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
630
|
+
get detail(): any | undefined;
|
|
631
|
+
}
|
|
632
|
+
export interface CustomEventCustomEventInit {
|
|
633
|
+
bubbles?: boolean;
|
|
634
|
+
cancelable?: boolean;
|
|
635
|
+
composed?: boolean;
|
|
636
|
+
detail?: any;
|
|
637
|
+
}
|
|
627
638
|
export declare class Blob {
|
|
628
639
|
constructor(
|
|
629
640
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -851,7 +862,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
851
862
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
852
863
|
name: string;
|
|
853
864
|
modulusLength: number;
|
|
854
|
-
publicExponent: ArrayBuffer;
|
|
865
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
855
866
|
hash?: CryptoKeyKeyAlgorithm;
|
|
856
867
|
}
|
|
857
868
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1696,6 +1707,7 @@ export interface TraceItem {
|
|
|
1696
1707
|
| TraceItemAlarmEventInfo
|
|
1697
1708
|
| TraceItemQueueEventInfo
|
|
1698
1709
|
| TraceItemEmailEventInfo
|
|
1710
|
+
| TraceItemTailEventInfo
|
|
1699
1711
|
| TraceItemCustomEventInfo
|
|
1700
1712
|
)
|
|
1701
1713
|
| null;
|
|
@@ -1725,6 +1737,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1725
1737
|
readonly rcptTo: string;
|
|
1726
1738
|
readonly rawSize: number;
|
|
1727
1739
|
}
|
|
1740
|
+
export interface TraceItemTailEventInfo {
|
|
1741
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1742
|
+
}
|
|
1743
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1744
|
+
readonly scriptName: string | null;
|
|
1745
|
+
}
|
|
1728
1746
|
export interface TraceItemFetchEventInfo {
|
|
1729
1747
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1730
1748
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -626,6 +627,16 @@ declare interface SchedulerWaitOptions {
|
|
|
626
627
|
declare abstract class ExtendableEvent extends Event {
|
|
627
628
|
waitUntil(promise: Promise<any>): void;
|
|
628
629
|
}
|
|
630
|
+
declare class CustomEvent extends Event {
|
|
631
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
632
|
+
get detail(): any | undefined;
|
|
633
|
+
}
|
|
634
|
+
declare interface CustomEventCustomEventInit {
|
|
635
|
+
bubbles?: boolean;
|
|
636
|
+
cancelable?: boolean;
|
|
637
|
+
composed?: boolean;
|
|
638
|
+
detail?: any;
|
|
639
|
+
}
|
|
629
640
|
declare class Blob {
|
|
630
641
|
constructor(
|
|
631
642
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -853,7 +864,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
853
864
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
854
865
|
name: string;
|
|
855
866
|
modulusLength: number;
|
|
856
|
-
publicExponent: ArrayBuffer;
|
|
867
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
857
868
|
hash?: CryptoKeyKeyAlgorithm;
|
|
858
869
|
}
|
|
859
870
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1694,6 +1705,7 @@ declare interface TraceItem {
|
|
|
1694
1705
|
| TraceItemAlarmEventInfo
|
|
1695
1706
|
| TraceItemQueueEventInfo
|
|
1696
1707
|
| TraceItemEmailEventInfo
|
|
1708
|
+
| TraceItemTailEventInfo
|
|
1697
1709
|
| TraceItemCustomEventInfo
|
|
1698
1710
|
)
|
|
1699
1711
|
| null;
|
|
@@ -1723,6 +1735,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1723
1735
|
readonly rcptTo: string;
|
|
1724
1736
|
readonly rawSize: number;
|
|
1725
1737
|
}
|
|
1738
|
+
declare interface TraceItemTailEventInfo {
|
|
1739
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1740
|
+
}
|
|
1741
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1742
|
+
readonly scriptName: string | null;
|
|
1743
|
+
}
|
|
1726
1744
|
declare interface TraceItemFetchEventInfo {
|
|
1727
1745
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1728
1746
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2022-11-30/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -628,6 +629,16 @@ export interface SchedulerWaitOptions {
|
|
|
628
629
|
export declare abstract class ExtendableEvent extends Event {
|
|
629
630
|
waitUntil(promise: Promise<any>): void;
|
|
630
631
|
}
|
|
632
|
+
export declare class CustomEvent extends Event {
|
|
633
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
634
|
+
get detail(): any | undefined;
|
|
635
|
+
}
|
|
636
|
+
export interface CustomEventCustomEventInit {
|
|
637
|
+
bubbles?: boolean;
|
|
638
|
+
cancelable?: boolean;
|
|
639
|
+
composed?: boolean;
|
|
640
|
+
detail?: any;
|
|
641
|
+
}
|
|
631
642
|
export declare class Blob {
|
|
632
643
|
constructor(
|
|
633
644
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -855,7 +866,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
855
866
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
856
867
|
name: string;
|
|
857
868
|
modulusLength: number;
|
|
858
|
-
publicExponent: ArrayBuffer;
|
|
869
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
859
870
|
hash?: CryptoKeyKeyAlgorithm;
|
|
860
871
|
}
|
|
861
872
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1699,6 +1710,7 @@ export interface TraceItem {
|
|
|
1699
1710
|
| TraceItemAlarmEventInfo
|
|
1700
1711
|
| TraceItemQueueEventInfo
|
|
1701
1712
|
| TraceItemEmailEventInfo
|
|
1713
|
+
| TraceItemTailEventInfo
|
|
1702
1714
|
| TraceItemCustomEventInfo
|
|
1703
1715
|
)
|
|
1704
1716
|
| null;
|
|
@@ -1728,6 +1740,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1728
1740
|
readonly rcptTo: string;
|
|
1729
1741
|
readonly rawSize: number;
|
|
1730
1742
|
}
|
|
1743
|
+
export interface TraceItemTailEventInfo {
|
|
1744
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1745
|
+
}
|
|
1746
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1747
|
+
readonly scriptName: string | null;
|
|
1748
|
+
}
|
|
1731
1749
|
export interface TraceItemFetchEventInfo {
|
|
1732
1750
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1733
1751
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -626,6 +627,16 @@ declare interface SchedulerWaitOptions {
|
|
|
626
627
|
declare abstract class ExtendableEvent extends Event {
|
|
627
628
|
waitUntil(promise: Promise<any>): void;
|
|
628
629
|
}
|
|
630
|
+
declare class CustomEvent extends Event {
|
|
631
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
632
|
+
get detail(): any | undefined;
|
|
633
|
+
}
|
|
634
|
+
declare interface CustomEventCustomEventInit {
|
|
635
|
+
bubbles?: boolean;
|
|
636
|
+
cancelable?: boolean;
|
|
637
|
+
composed?: boolean;
|
|
638
|
+
detail?: any;
|
|
639
|
+
}
|
|
629
640
|
declare class Blob {
|
|
630
641
|
constructor(
|
|
631
642
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -853,7 +864,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
853
864
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
854
865
|
name: string;
|
|
855
866
|
modulusLength: number;
|
|
856
|
-
publicExponent: ArrayBuffer;
|
|
867
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
857
868
|
hash?: CryptoKeyKeyAlgorithm;
|
|
858
869
|
}
|
|
859
870
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1695,6 +1706,7 @@ declare interface TraceItem {
|
|
|
1695
1706
|
| TraceItemAlarmEventInfo
|
|
1696
1707
|
| TraceItemQueueEventInfo
|
|
1697
1708
|
| TraceItemEmailEventInfo
|
|
1709
|
+
| TraceItemTailEventInfo
|
|
1698
1710
|
| TraceItemCustomEventInfo
|
|
1699
1711
|
)
|
|
1700
1712
|
| null;
|
|
@@ -1724,6 +1736,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1724
1736
|
readonly rcptTo: string;
|
|
1725
1737
|
readonly rawSize: number;
|
|
1726
1738
|
}
|
|
1739
|
+
declare interface TraceItemTailEventInfo {
|
|
1740
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1741
|
+
}
|
|
1742
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1743
|
+
readonly scriptName: string | null;
|
|
1744
|
+
}
|
|
1727
1745
|
declare interface TraceItemFetchEventInfo {
|
|
1728
1746
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1729
1747
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2023-03-01/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -628,6 +629,16 @@ export interface SchedulerWaitOptions {
|
|
|
628
629
|
export declare abstract class ExtendableEvent extends Event {
|
|
629
630
|
waitUntil(promise: Promise<any>): void;
|
|
630
631
|
}
|
|
632
|
+
export declare class CustomEvent extends Event {
|
|
633
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
634
|
+
get detail(): any | undefined;
|
|
635
|
+
}
|
|
636
|
+
export interface CustomEventCustomEventInit {
|
|
637
|
+
bubbles?: boolean;
|
|
638
|
+
cancelable?: boolean;
|
|
639
|
+
composed?: boolean;
|
|
640
|
+
detail?: any;
|
|
641
|
+
}
|
|
631
642
|
export declare class Blob {
|
|
632
643
|
constructor(
|
|
633
644
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -855,7 +866,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
855
866
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
856
867
|
name: string;
|
|
857
868
|
modulusLength: number;
|
|
858
|
-
publicExponent: ArrayBuffer;
|
|
869
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
859
870
|
hash?: CryptoKeyKeyAlgorithm;
|
|
860
871
|
}
|
|
861
872
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1700,6 +1711,7 @@ export interface TraceItem {
|
|
|
1700
1711
|
| TraceItemAlarmEventInfo
|
|
1701
1712
|
| TraceItemQueueEventInfo
|
|
1702
1713
|
| TraceItemEmailEventInfo
|
|
1714
|
+
| TraceItemTailEventInfo
|
|
1703
1715
|
| TraceItemCustomEventInfo
|
|
1704
1716
|
)
|
|
1705
1717
|
| null;
|
|
@@ -1729,6 +1741,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1729
1741
|
readonly rcptTo: string;
|
|
1730
1742
|
readonly rawSize: number;
|
|
1731
1743
|
}
|
|
1744
|
+
export interface TraceItemTailEventInfo {
|
|
1745
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1746
|
+
}
|
|
1747
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1748
|
+
readonly scriptName: string | null;
|
|
1749
|
+
}
|
|
1732
1750
|
export interface TraceItemFetchEventInfo {
|
|
1733
1751
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1734
1752
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -626,6 +627,16 @@ declare interface SchedulerWaitOptions {
|
|
|
626
627
|
declare abstract class ExtendableEvent extends Event {
|
|
627
628
|
waitUntil(promise: Promise<any>): void;
|
|
628
629
|
}
|
|
630
|
+
declare class CustomEvent extends Event {
|
|
631
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
632
|
+
get detail(): any | undefined;
|
|
633
|
+
}
|
|
634
|
+
declare interface CustomEventCustomEventInit {
|
|
635
|
+
bubbles?: boolean;
|
|
636
|
+
cancelable?: boolean;
|
|
637
|
+
composed?: boolean;
|
|
638
|
+
detail?: any;
|
|
639
|
+
}
|
|
629
640
|
declare class Blob {
|
|
630
641
|
constructor(
|
|
631
642
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -853,7 +864,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
853
864
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
854
865
|
name: string;
|
|
855
866
|
modulusLength: number;
|
|
856
|
-
publicExponent: ArrayBuffer;
|
|
867
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
857
868
|
hash?: CryptoKeyKeyAlgorithm;
|
|
858
869
|
}
|
|
859
870
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1695,6 +1706,7 @@ declare interface TraceItem {
|
|
|
1695
1706
|
| TraceItemAlarmEventInfo
|
|
1696
1707
|
| TraceItemQueueEventInfo
|
|
1697
1708
|
| TraceItemEmailEventInfo
|
|
1709
|
+
| TraceItemTailEventInfo
|
|
1698
1710
|
| TraceItemCustomEventInfo
|
|
1699
1711
|
)
|
|
1700
1712
|
| null;
|
|
@@ -1724,6 +1736,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1724
1736
|
readonly rcptTo: string;
|
|
1725
1737
|
readonly rawSize: number;
|
|
1726
1738
|
}
|
|
1739
|
+
declare interface TraceItemTailEventInfo {
|
|
1740
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1741
|
+
}
|
|
1742
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1743
|
+
readonly scriptName: string | null;
|
|
1744
|
+
}
|
|
1727
1745
|
declare interface TraceItemFetchEventInfo {
|
|
1728
1746
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1729
1747
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/2023-07-01/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -628,6 +629,16 @@ export interface SchedulerWaitOptions {
|
|
|
628
629
|
export declare abstract class ExtendableEvent extends Event {
|
|
629
630
|
waitUntil(promise: Promise<any>): void;
|
|
630
631
|
}
|
|
632
|
+
export declare class CustomEvent extends Event {
|
|
633
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
634
|
+
get detail(): any | undefined;
|
|
635
|
+
}
|
|
636
|
+
export interface CustomEventCustomEventInit {
|
|
637
|
+
bubbles?: boolean;
|
|
638
|
+
cancelable?: boolean;
|
|
639
|
+
composed?: boolean;
|
|
640
|
+
detail?: any;
|
|
641
|
+
}
|
|
631
642
|
export declare class Blob {
|
|
632
643
|
constructor(
|
|
633
644
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -855,7 +866,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
855
866
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
856
867
|
name: string;
|
|
857
868
|
modulusLength: number;
|
|
858
|
-
publicExponent: ArrayBuffer;
|
|
869
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
859
870
|
hash?: CryptoKeyKeyAlgorithm;
|
|
860
871
|
}
|
|
861
872
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1700,6 +1711,7 @@ export interface TraceItem {
|
|
|
1700
1711
|
| TraceItemAlarmEventInfo
|
|
1701
1712
|
| TraceItemQueueEventInfo
|
|
1702
1713
|
| TraceItemEmailEventInfo
|
|
1714
|
+
| TraceItemTailEventInfo
|
|
1703
1715
|
| TraceItemCustomEventInfo
|
|
1704
1716
|
)
|
|
1705
1717
|
| null;
|
|
@@ -1729,6 +1741,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1729
1741
|
readonly rcptTo: string;
|
|
1730
1742
|
readonly rawSize: number;
|
|
1731
1743
|
}
|
|
1744
|
+
export interface TraceItemTailEventInfo {
|
|
1745
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1746
|
+
}
|
|
1747
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1748
|
+
readonly scriptName: string | null;
|
|
1749
|
+
}
|
|
1732
1750
|
export interface TraceItemFetchEventInfo {
|
|
1733
1751
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1734
1752
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/experimental/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -635,6 +636,16 @@ declare interface SchedulerWaitOptions {
|
|
|
635
636
|
declare abstract class ExtendableEvent extends Event {
|
|
636
637
|
waitUntil(promise: Promise<any>): void;
|
|
637
638
|
}
|
|
639
|
+
declare class CustomEvent extends Event {
|
|
640
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
641
|
+
get detail(): any | undefined;
|
|
642
|
+
}
|
|
643
|
+
declare interface CustomEventCustomEventInit {
|
|
644
|
+
bubbles?: boolean;
|
|
645
|
+
cancelable?: boolean;
|
|
646
|
+
composed?: boolean;
|
|
647
|
+
detail?: any;
|
|
648
|
+
}
|
|
638
649
|
declare class Blob {
|
|
639
650
|
constructor(
|
|
640
651
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -862,7 +873,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
862
873
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
863
874
|
name: string;
|
|
864
875
|
modulusLength: number;
|
|
865
|
-
publicExponent: ArrayBuffer;
|
|
876
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
866
877
|
hash?: CryptoKeyKeyAlgorithm;
|
|
867
878
|
}
|
|
868
879
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1735,6 +1746,7 @@ declare interface TraceItem {
|
|
|
1735
1746
|
| TraceItemAlarmEventInfo
|
|
1736
1747
|
| TraceItemQueueEventInfo
|
|
1737
1748
|
| TraceItemEmailEventInfo
|
|
1749
|
+
| TraceItemTailEventInfo
|
|
1738
1750
|
| TraceItemCustomEventInfo
|
|
1739
1751
|
)
|
|
1740
1752
|
| null;
|
|
@@ -1764,6 +1776,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1764
1776
|
readonly rcptTo: string;
|
|
1765
1777
|
readonly rawSize: number;
|
|
1766
1778
|
}
|
|
1779
|
+
declare interface TraceItemTailEventInfo {
|
|
1780
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1781
|
+
}
|
|
1782
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1783
|
+
readonly scriptName: string | null;
|
|
1784
|
+
}
|
|
1767
1785
|
declare interface TraceItemFetchEventInfo {
|
|
1768
1786
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1769
1787
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/experimental/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -637,6 +638,16 @@ export interface SchedulerWaitOptions {
|
|
|
637
638
|
export declare abstract class ExtendableEvent extends Event {
|
|
638
639
|
waitUntil(promise: Promise<any>): void;
|
|
639
640
|
}
|
|
641
|
+
export declare class CustomEvent extends Event {
|
|
642
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
643
|
+
get detail(): any | undefined;
|
|
644
|
+
}
|
|
645
|
+
export interface CustomEventCustomEventInit {
|
|
646
|
+
bubbles?: boolean;
|
|
647
|
+
cancelable?: boolean;
|
|
648
|
+
composed?: boolean;
|
|
649
|
+
detail?: any;
|
|
650
|
+
}
|
|
640
651
|
export declare class Blob {
|
|
641
652
|
constructor(
|
|
642
653
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -864,7 +875,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
864
875
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
865
876
|
name: string;
|
|
866
877
|
modulusLength: number;
|
|
867
|
-
publicExponent: ArrayBuffer;
|
|
878
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
868
879
|
hash?: CryptoKeyKeyAlgorithm;
|
|
869
880
|
}
|
|
870
881
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1740,6 +1751,7 @@ export interface TraceItem {
|
|
|
1740
1751
|
| TraceItemAlarmEventInfo
|
|
1741
1752
|
| TraceItemQueueEventInfo
|
|
1742
1753
|
| TraceItemEmailEventInfo
|
|
1754
|
+
| TraceItemTailEventInfo
|
|
1743
1755
|
| TraceItemCustomEventInfo
|
|
1744
1756
|
)
|
|
1745
1757
|
| null;
|
|
@@ -1769,6 +1781,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1769
1781
|
readonly rcptTo: string;
|
|
1770
1782
|
readonly rawSize: number;
|
|
1771
1783
|
}
|
|
1784
|
+
export interface TraceItemTailEventInfo {
|
|
1785
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1786
|
+
}
|
|
1787
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1788
|
+
readonly scriptName: string | null;
|
|
1789
|
+
}
|
|
1772
1790
|
export interface TraceItemFetchEventInfo {
|
|
1773
1791
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1774
1792
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -627,6 +628,16 @@ declare interface SchedulerWaitOptions {
|
|
|
627
628
|
declare abstract class ExtendableEvent extends Event {
|
|
628
629
|
waitUntil(promise: Promise<any>): void;
|
|
629
630
|
}
|
|
631
|
+
declare class CustomEvent extends Event {
|
|
632
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
633
|
+
get detail(): any | undefined;
|
|
634
|
+
}
|
|
635
|
+
declare interface CustomEventCustomEventInit {
|
|
636
|
+
bubbles?: boolean;
|
|
637
|
+
cancelable?: boolean;
|
|
638
|
+
composed?: boolean;
|
|
639
|
+
detail?: any;
|
|
640
|
+
}
|
|
630
641
|
declare class Blob {
|
|
631
642
|
constructor(
|
|
632
643
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -855,7 +866,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
855
866
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
856
867
|
name: string;
|
|
857
868
|
modulusLength: number;
|
|
858
|
-
publicExponent: ArrayBuffer;
|
|
869
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
859
870
|
hash?: CryptoKeyKeyAlgorithm;
|
|
860
871
|
}
|
|
861
872
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1703,6 +1714,7 @@ declare interface TraceItem {
|
|
|
1703
1714
|
| TraceItemAlarmEventInfo
|
|
1704
1715
|
| TraceItemQueueEventInfo
|
|
1705
1716
|
| TraceItemEmailEventInfo
|
|
1717
|
+
| TraceItemTailEventInfo
|
|
1706
1718
|
| TraceItemCustomEventInfo
|
|
1707
1719
|
)
|
|
1708
1720
|
| null;
|
|
@@ -1732,6 +1744,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1732
1744
|
readonly rcptTo: string;
|
|
1733
1745
|
readonly rawSize: number;
|
|
1734
1746
|
}
|
|
1747
|
+
declare interface TraceItemTailEventInfo {
|
|
1748
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1749
|
+
}
|
|
1750
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1751
|
+
readonly scriptName: string | null;
|
|
1752
|
+
}
|
|
1735
1753
|
declare interface TraceItemFetchEventInfo {
|
|
1736
1754
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1737
1755
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -629,6 +630,16 @@ export interface SchedulerWaitOptions {
|
|
|
629
630
|
export declare abstract class ExtendableEvent extends Event {
|
|
630
631
|
waitUntil(promise: Promise<any>): void;
|
|
631
632
|
}
|
|
633
|
+
export declare class CustomEvent extends Event {
|
|
634
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
635
|
+
get detail(): any | undefined;
|
|
636
|
+
}
|
|
637
|
+
export interface CustomEventCustomEventInit {
|
|
638
|
+
bubbles?: boolean;
|
|
639
|
+
cancelable?: boolean;
|
|
640
|
+
composed?: boolean;
|
|
641
|
+
detail?: any;
|
|
642
|
+
}
|
|
632
643
|
export declare class Blob {
|
|
633
644
|
constructor(
|
|
634
645
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -857,7 +868,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
857
868
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
858
869
|
name: string;
|
|
859
870
|
modulusLength: number;
|
|
860
|
-
publicExponent: ArrayBuffer;
|
|
871
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
861
872
|
hash?: CryptoKeyKeyAlgorithm;
|
|
862
873
|
}
|
|
863
874
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1708,6 +1719,7 @@ export interface TraceItem {
|
|
|
1708
1719
|
| TraceItemAlarmEventInfo
|
|
1709
1720
|
| TraceItemQueueEventInfo
|
|
1710
1721
|
| TraceItemEmailEventInfo
|
|
1722
|
+
| TraceItemTailEventInfo
|
|
1711
1723
|
| TraceItemCustomEventInfo
|
|
1712
1724
|
)
|
|
1713
1725
|
| null;
|
|
@@ -1737,6 +1749,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1737
1749
|
readonly rcptTo: string;
|
|
1738
1750
|
readonly rawSize: number;
|
|
1739
1751
|
}
|
|
1752
|
+
export interface TraceItemTailEventInfo {
|
|
1753
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1754
|
+
}
|
|
1755
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1756
|
+
readonly scriptName: string | null;
|
|
1757
|
+
}
|
|
1740
1758
|
export interface TraceItemFetchEventInfo {
|
|
1741
1759
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1742
1760
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/oldest/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -627,6 +628,16 @@ declare interface SchedulerWaitOptions {
|
|
|
627
628
|
declare abstract class ExtendableEvent extends Event {
|
|
628
629
|
waitUntil(promise: Promise<any>): void;
|
|
629
630
|
}
|
|
631
|
+
declare class CustomEvent extends Event {
|
|
632
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
633
|
+
get detail(): any | undefined;
|
|
634
|
+
}
|
|
635
|
+
declare interface CustomEventCustomEventInit {
|
|
636
|
+
bubbles?: boolean;
|
|
637
|
+
cancelable?: boolean;
|
|
638
|
+
composed?: boolean;
|
|
639
|
+
detail?: any;
|
|
640
|
+
}
|
|
630
641
|
declare class Blob {
|
|
631
642
|
constructor(
|
|
632
643
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -855,7 +866,7 @@ declare interface CryptoKeyHmacKeyAlgorithm {
|
|
|
855
866
|
declare interface CryptoKeyRsaKeyAlgorithm {
|
|
856
867
|
name: string;
|
|
857
868
|
modulusLength: number;
|
|
858
|
-
publicExponent: ArrayBuffer;
|
|
869
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
859
870
|
hash?: CryptoKeyKeyAlgorithm;
|
|
860
871
|
}
|
|
861
872
|
declare interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1703,6 +1714,7 @@ declare interface TraceItem {
|
|
|
1703
1714
|
| TraceItemAlarmEventInfo
|
|
1704
1715
|
| TraceItemQueueEventInfo
|
|
1705
1716
|
| TraceItemEmailEventInfo
|
|
1717
|
+
| TraceItemTailEventInfo
|
|
1706
1718
|
| TraceItemCustomEventInfo
|
|
1707
1719
|
)
|
|
1708
1720
|
| null;
|
|
@@ -1732,6 +1744,12 @@ declare interface TraceItemEmailEventInfo {
|
|
|
1732
1744
|
readonly rcptTo: string;
|
|
1733
1745
|
readonly rawSize: number;
|
|
1734
1746
|
}
|
|
1747
|
+
declare interface TraceItemTailEventInfo {
|
|
1748
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1749
|
+
}
|
|
1750
|
+
declare interface TraceItemTailEventInfoTailItem {
|
|
1751
|
+
readonly scriptName: string | null;
|
|
1752
|
+
}
|
|
1735
1753
|
declare interface TraceItemFetchEventInfo {
|
|
1736
1754
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1737
1755
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/oldest/index.ts
CHANGED
|
@@ -188,6 +188,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
188
188
|
readonly origin: string;
|
|
189
189
|
Event: typeof Event;
|
|
190
190
|
ExtendableEvent: typeof ExtendableEvent;
|
|
191
|
+
CustomEvent: typeof CustomEvent;
|
|
191
192
|
PromiseRejectionEvent: typeof PromiseRejectionEvent;
|
|
192
193
|
FetchEvent: typeof FetchEvent;
|
|
193
194
|
TailEvent: typeof TailEvent;
|
|
@@ -629,6 +630,16 @@ export interface SchedulerWaitOptions {
|
|
|
629
630
|
export declare abstract class ExtendableEvent extends Event {
|
|
630
631
|
waitUntil(promise: Promise<any>): void;
|
|
631
632
|
}
|
|
633
|
+
export declare class CustomEvent extends Event {
|
|
634
|
+
constructor(type: string, init?: CustomEventCustomEventInit);
|
|
635
|
+
get detail(): any | undefined;
|
|
636
|
+
}
|
|
637
|
+
export interface CustomEventCustomEventInit {
|
|
638
|
+
bubbles?: boolean;
|
|
639
|
+
cancelable?: boolean;
|
|
640
|
+
composed?: boolean;
|
|
641
|
+
detail?: any;
|
|
642
|
+
}
|
|
632
643
|
export declare class Blob {
|
|
633
644
|
constructor(
|
|
634
645
|
bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[],
|
|
@@ -857,7 +868,7 @@ export interface CryptoKeyHmacKeyAlgorithm {
|
|
|
857
868
|
export interface CryptoKeyRsaKeyAlgorithm {
|
|
858
869
|
name: string;
|
|
859
870
|
modulusLength: number;
|
|
860
|
-
publicExponent: ArrayBuffer;
|
|
871
|
+
publicExponent: ArrayBuffer | (ArrayBuffer | ArrayBufferView);
|
|
861
872
|
hash?: CryptoKeyKeyAlgorithm;
|
|
862
873
|
}
|
|
863
874
|
export interface CryptoKeyEllipticKeyAlgorithm {
|
|
@@ -1708,6 +1719,7 @@ export interface TraceItem {
|
|
|
1708
1719
|
| TraceItemAlarmEventInfo
|
|
1709
1720
|
| TraceItemQueueEventInfo
|
|
1710
1721
|
| TraceItemEmailEventInfo
|
|
1722
|
+
| TraceItemTailEventInfo
|
|
1711
1723
|
| TraceItemCustomEventInfo
|
|
1712
1724
|
)
|
|
1713
1725
|
| null;
|
|
@@ -1737,6 +1749,12 @@ export interface TraceItemEmailEventInfo {
|
|
|
1737
1749
|
readonly rcptTo: string;
|
|
1738
1750
|
readonly rawSize: number;
|
|
1739
1751
|
}
|
|
1752
|
+
export interface TraceItemTailEventInfo {
|
|
1753
|
+
readonly consumedEvents: TraceItemTailEventInfoTailItem[];
|
|
1754
|
+
}
|
|
1755
|
+
export interface TraceItemTailEventInfoTailItem {
|
|
1756
|
+
readonly scriptName: string | null;
|
|
1757
|
+
}
|
|
1740
1758
|
export interface TraceItemFetchEventInfo {
|
|
1741
1759
|
readonly response?: TraceItemFetchEventInfoResponse;
|
|
1742
1760
|
readonly request: TraceItemFetchEventInfoRequest;
|
package/package.json
CHANGED