First commit.

Signed-off-by: Chen Xiao <abigwc@gmail.com>
This commit is contained in:
Chen Xiao
2026-05-08 14:43:16 +08:00
commit 0b64e2de94
10989 changed files with 2253791 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
* @braintree/team-sdk-js
@@ -0,0 +1,47 @@
name: Bug Report
description: File a bug report.
title: "[Bug]: "
labels: ["bug", "triage"]
projects: []
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Detail the bad behavior and the steps required to duplicate it
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: What did you expect to happen?
description: What did you expect to happen when performing the action?
placeholder: Expected behavior
value: "Expected behavior"
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: What version of this library are you running?
placeholder: "v0.0.0"
value:
validations:
required: true
- type: textarea
id: browsers
attributes:
label: What browsers are you seeing the problem on?
description: |
List browsers where you see the problem reported. For example:
* Mac OS 15.3.5, Chrome 130.0.1234.987
* Android 14, Firefox 133.0
* iPadOS 17.1, Safari
placeholder: "For each browser specify 1) operating system and version 2) browser name and version"
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Contact Developer Support
url: https://developer.paypal.com/braintree/help
about: If you need help troubleshooting your integration, reach out to Braintree Support. Only open a GitHub issue if you've found an issue with our SDK.
@@ -0,0 +1,30 @@
name: Feature Request
description: Request a new feature.
title: "[FR]: "
labels: ["feature", "request", "enhancement", "triage"]
projects: []
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request!
- type: textarea
id: feat-summary
attributes:
label: Feature Summary
description: In a few sentences or less, provide a concise description of the feature being requested.
placeholder: "New feature that does ___; it can be used when ..."
validations:
required: true
- type: textarea
id: detailed-description
attributes:
label: Detailed description of new feature.
description: |
Please provide a detailed description of proposed feature.
- What problem would this new feature solve?
- How will this change affect users?
- Is it a modification to existing functionality? Are you requesting a new/modified function input or output? Please provide an example of what the change might look like?
placeholder: "New feature details."
validations:
required: true
@@ -0,0 +1,17 @@
# Summary of changes
-
## Checklist
- [ ] Added a changelog entry
- [ ] Relevant test coverage
- [ ] Tested and confirmed flows affected by this change are functioning as expected
## Authors
> List GitHub usernames for everyone who contributed to this pull request.
### Reviewers
@braintree/team-sdk-js
+17
View File
@@ -0,0 +1,17 @@
name: "Unit Tests"
on: [push]
jobs:
build:
name: "Unit Tests on Ubuntu"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "18.x"
- run: npm install
- run: npm test
@@ -0,0 +1,24 @@
name: Security
permissions:
contents: write # Needed by both CodeQL and dependency review
pull-requests: write # Needed by dependency review
statuses: write # Needed by dependency review (to post checks)
security-events: write # Needed by CodeQL to upload SARIF
packages: read # Needed by CodeQL for private/internal packs
actions: read # Needed by CodeQL to access internal actions
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
jobs:
codeql-javascript:
uses: braintree/security-workflows/.github/workflows/codeql.yml@main
with:
language: javascript-typescript
dependency-review:
uses: braintree/security-workflows/.github/workflows/dependency-review.yml@main