@types/web 0.0.161 → 0.0.162
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/README.md +1 -1
- package/index.d.ts +6 -6
- package/package.json +1 -1
- package/ts5.5/index.d.ts +6 -6
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.162 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.162.
|
package/index.d.ts
CHANGED
|
@@ -16980,8 +16980,8 @@ declare var PaymentMethodChangeEvent: {
|
|
|
16980
16980
|
|
|
16981
16981
|
interface PaymentRequestEventMap {
|
|
16982
16982
|
"paymentmethodchange": PaymentMethodChangeEvent;
|
|
16983
|
-
"shippingaddresschange":
|
|
16984
|
-
"shippingoptionchange":
|
|
16983
|
+
"shippingaddresschange": PaymentRequestUpdateEvent;
|
|
16984
|
+
"shippingoptionchange": PaymentRequestUpdateEvent;
|
|
16985
16985
|
}
|
|
16986
16986
|
|
|
16987
16987
|
/**
|
|
@@ -17000,13 +17000,13 @@ interface PaymentRequest extends EventTarget {
|
|
|
17000
17000
|
*
|
|
17001
17001
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingaddresschange_event)
|
|
17002
17002
|
*/
|
|
17003
|
-
onshippingaddresschange: ((this: PaymentRequest, ev:
|
|
17003
|
+
onshippingaddresschange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17004
17004
|
/**
|
|
17005
17005
|
* @deprecated
|
|
17006
17006
|
*
|
|
17007
17007
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingoptionchange_event)
|
|
17008
17008
|
*/
|
|
17009
|
-
onshippingoptionchange: ((this: PaymentRequest, ev:
|
|
17009
|
+
onshippingoptionchange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17010
17010
|
/**
|
|
17011
17011
|
* @deprecated
|
|
17012
17012
|
*
|
|
@@ -17059,7 +17059,7 @@ declare var PaymentRequestUpdateEvent: {
|
|
|
17059
17059
|
};
|
|
17060
17060
|
|
|
17061
17061
|
interface PaymentResponseEventMap {
|
|
17062
|
-
"payerdetailchange":
|
|
17062
|
+
"payerdetailchange": PaymentRequestUpdateEvent;
|
|
17063
17063
|
}
|
|
17064
17064
|
|
|
17065
17065
|
/**
|
|
@@ -17074,7 +17074,7 @@ interface PaymentResponse extends EventTarget {
|
|
|
17074
17074
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) */
|
|
17075
17075
|
readonly methodName: string;
|
|
17076
17076
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event) */
|
|
17077
|
-
onpayerdetailchange: ((this: PaymentResponse, ev:
|
|
17077
|
+
onpayerdetailchange: ((this: PaymentResponse, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17078
17078
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail) */
|
|
17079
17079
|
readonly payerEmail: string | null;
|
|
17080
17080
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName) */
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -16980,8 +16980,8 @@ declare var PaymentMethodChangeEvent: {
|
|
|
16980
16980
|
|
|
16981
16981
|
interface PaymentRequestEventMap {
|
|
16982
16982
|
"paymentmethodchange": PaymentMethodChangeEvent;
|
|
16983
|
-
"shippingaddresschange":
|
|
16984
|
-
"shippingoptionchange":
|
|
16983
|
+
"shippingaddresschange": PaymentRequestUpdateEvent;
|
|
16984
|
+
"shippingoptionchange": PaymentRequestUpdateEvent;
|
|
16985
16985
|
}
|
|
16986
16986
|
|
|
16987
16987
|
/**
|
|
@@ -17000,13 +17000,13 @@ interface PaymentRequest extends EventTarget {
|
|
|
17000
17000
|
*
|
|
17001
17001
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingaddresschange_event)
|
|
17002
17002
|
*/
|
|
17003
|
-
onshippingaddresschange: ((this: PaymentRequest, ev:
|
|
17003
|
+
onshippingaddresschange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17004
17004
|
/**
|
|
17005
17005
|
* @deprecated
|
|
17006
17006
|
*
|
|
17007
17007
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingoptionchange_event)
|
|
17008
17008
|
*/
|
|
17009
|
-
onshippingoptionchange: ((this: PaymentRequest, ev:
|
|
17009
|
+
onshippingoptionchange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17010
17010
|
/**
|
|
17011
17011
|
* @deprecated
|
|
17012
17012
|
*
|
|
@@ -17059,7 +17059,7 @@ declare var PaymentRequestUpdateEvent: {
|
|
|
17059
17059
|
};
|
|
17060
17060
|
|
|
17061
17061
|
interface PaymentResponseEventMap {
|
|
17062
|
-
"payerdetailchange":
|
|
17062
|
+
"payerdetailchange": PaymentRequestUpdateEvent;
|
|
17063
17063
|
}
|
|
17064
17064
|
|
|
17065
17065
|
/**
|
|
@@ -17074,7 +17074,7 @@ interface PaymentResponse extends EventTarget {
|
|
|
17074
17074
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) */
|
|
17075
17075
|
readonly methodName: string;
|
|
17076
17076
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event) */
|
|
17077
|
-
onpayerdetailchange: ((this: PaymentResponse, ev:
|
|
17077
|
+
onpayerdetailchange: ((this: PaymentResponse, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17078
17078
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail) */
|
|
17079
17079
|
readonly payerEmail: string | null;
|
|
17080
17080
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName) */
|