[@types/braintree-web] Add some missing methods and properties from update to 3.69#49658
Conversation
|
@murphybob Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it. Status
All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes. InactiveThis PR has been inactive for 10 days — please merge or say something if there's a problem, otherwise it will move to the DT maintainer queue soon! Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 49658,
"author": "murphybob",
"headCommitAbbrOid": "a33ecd3",
"headCommitOid": "a33ecd33877c1fd8fc9d1ac695abf0bd6dfd1942",
"lastPushDate": "2020-11-23T16:47:57.000Z",
"lastActivityDate": "2020-12-15T16:36:46.000Z",
"maintainerBlessed": false,
"mergeOfferDate": "2020-12-05T04:29:18.000Z",
"mergeRequestDate": "2020-12-15T16:36:46.000Z",
"mergeRequestUser": "jbuckner",
"hasMergeConflict": false,
"isFirstContribution": true,
"popularityLevel": "Popular",
"pkgInfo": [
{
"name": "braintree-web",
"kind": "edit",
"files": [
{
"path": "types/braintree-web/index.d.ts",
"kind": "definition"
},
{
"path": "types/braintree-web/modules/client.d.ts",
"kind": "definition"
},
{
"path": "types/braintree-web/modules/hosted-fields.d.ts",
"kind": "definition"
},
{
"path": "types/braintree-web/modules/three-d-secure.d.ts",
"kind": "definition"
},
{
"path": "types/braintree-web/test/node.ts",
"kind": "test"
},
{
"path": "types/braintree-web/test/web.ts",
"kind": "test"
}
],
"owners": [
"chlela",
"jbuckner"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "jbuckner",
"date": "2020-12-05T04:28:40.000Z",
"isMaintainer": false
}
],
"ciResult": "pass"
} |
|
🔔 @CHLELA @jbuckner — please review this PR in the next few days. Be sure to explicitly select |
|
Inspecting the JavaScript source for this package found some properties that are not in the .d.ts files. braintree-web (unpkg)was missing the following properties:
as well as these 1 other properties...preferredPaymentMethods |
|
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? These typings are for a version of braintree-web that doesn’t yet exist on master, so I’ve compared them with v3.62.
Looks like there were a couple significant differences—take a look at worst-case duration for getting completions at a position to make sure everything looks ok. |
|
Updated numbers for you here from 66a9c7c. These typings are for a version of braintree-web that doesn’t yet exist on master, so I’ve compared them with v3.62. Comparison details 📊
It looks like there are several metrics that changed quite a bit. You might want to take a look and make sure your changes won’t cause slow-downs for users consuming these types. |
|
@murphybob you could include this doc for your last commit: https://braintree.github.io/braintree-web/current/HostedFields.html#on |
jbuckner
left a comment
There was a problem hiding this comment.
Nice job! Thank you for the updates!
|
@murphybob Everything looks good here. Great job! I am ready to merge this PR (at a33ecd3) on your behalf. If you'd like that to happen, please post a comment saying:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ |
|
Re-ping @murphybob / @CHLELA, @jbuckner: This PR has been ready to merge for over a week, and I haven't seen any requests to merge it. I will close it in three weeks if this doesn't happen. (Note that posting a comment will restart the month-timer again, so avoid doing that if you don't want me to nag you again... or you can just close it or turn it into a draft now.) |
|
Ready to merge |
|
I just published |
Please fill in this template.
npm test YOUR_PACKAGE_NAME.)npm run lint package-name(ortscif notslint.jsonis present).If changing an existing definition:
https://braintree.github.io/braintree-web/current/Client.html
https://braintree.github.io/braintree-web/current/hosted-fields_index.js.html#line58
Note this is not an exhaustive update for 3.69, I don't have time I'm afraid. 🤷