Skip to content

Commit 293413c

Browse files
authored
Merge pull request #1 from MobileWalletProtocol/felix/remove-web-code
MWPClient - MWP interface to connect to Smart Wallet
2 parents aeb4c56 + 182ccf7 commit 293413c

147 files changed

Lines changed: 796 additions & 8231 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.codeflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
secure:
22
required_reviews: 1
3-
upstream_repository: coinbase/coinbase-wallet-sdk
3+
upstream_repository: MobileWalletProtocol/react-native-client

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ body:
3838
id: version
3939
attributes:
4040
label: Version
41-
description: Which version of Coinbase Wallet SDK
41+
description: Which version of MWP SDK are you using?
4242

4343
- type: textarea
4444
id: additional

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Coinbase Wallet Developer Docs
4-
url: https://docs.cloud.coinbase.com/wallet-sdk/docs
5-
about: Coinbase Wallet's developer documentation
3+
- name: Smart Wallet Docs
4+
url: https://www.smartwallet.dev/guides/react-native-integration
5+
about: Developer documentation to integrate Coinbase Smart Wallet using MWP SDK

.github/workflows/build-and-deploy.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ on:
2020
schedule:
2121
- cron: "45 14 * * 6"
2222

23-
# paths-ignore:
24-
# - packages/wallet-native-sdk
25-
2623
jobs:
2724
analyze:
2825
name: Analyze

.github/workflows/main.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
defaults:
1313
run:
14-
working-directory: ./packages/wallet-sdk
14+
working-directory: ./packages/client
1515

1616
steps:
1717
- name: Checkout
@@ -20,8 +20,8 @@ jobs:
2020
- name: Checkout node action
2121
uses: actions/setup-node@v3
2222
with:
23-
node-version-file: '.nvmrc'
24-
cache-dependency-path: 'yarn.lock'
23+
node-version-file: ".nvmrc"
24+
cache-dependency-path: "yarn.lock"
2525

2626
- name: Install NPM dependencies
2727
run: yarn install --immutable
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
defaults:
3636
run:
37-
working-directory: ./packages/wallet-sdk
37+
working-directory: ./packages/client
3838

3939
steps:
4040
- name: Checkout
@@ -43,15 +43,12 @@ jobs:
4343
- name: Checkout node action
4444
uses: actions/setup-node@v3
4545
with:
46-
node-version-file: '.nvmrc'
47-
cache-dependency-path: '**/yarn.lock'
46+
node-version-file: ".nvmrc"
47+
cache-dependency-path: "**/yarn.lock"
4848

4949
- name: Install NPM dependencies
5050
run: yarn install --immutable
5151

52-
- name: Runs compile asset script
53-
run: node ./compile-assets.js
54-
5552
- name: Check Types
5653
run: yarn typecheck
5754

@@ -60,7 +57,7 @@ jobs:
6057
runs-on: ubuntu-latest
6158
defaults:
6259
run:
63-
working-directory: ./packages/wallet-sdk
60+
working-directory: ./packages/client
6461

6562
strategy:
6663
matrix:
@@ -74,13 +71,10 @@ jobs:
7471
uses: actions/setup-node@v3
7572
with:
7673
node-version: ${{ matrix.node-version }}
77-
cache-dependency-path: '**/yarn.lock'
74+
cache-dependency-path: "**/yarn.lock"
7875

7976
- name: Install NPM dependencies
8077
run: yarn install --immutable
8178

82-
- name: Runs compile asset script
83-
run: node ./compile-assets.js
84-
8579
- name: Run Unit Tests
8680
run: yarn test

.github/workflows/tagging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
env:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1616
with:
17-
root: "./packages/wallet-sdk"
17+
root: "./packages/client"
1818
tag_prefix: "v"

.github/workflows/versioning.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
defaults:
2727
run:
28-
working-directory: ./packages/wallet-sdk
28+
working-directory: ./packages/client
2929
needs: [authorize]
3030
env:
3131
PACKAGE_VERSION: ${{ github.event.inputs.packageVersion }}
@@ -37,15 +37,15 @@ jobs:
3737
- name: Use Node.js
3838
uses: actions/setup-node@v3
3939
with:
40-
node-version-file: '.nvmrc'
41-
cache-dependency-path: '**/yarn.lock'
40+
node-version-file: ".nvmrc"
41+
cache-dependency-path: "**/yarn.lock"
4242

4343
- name: Update version
4444
run: npm version ${{ env.PACKAGE_VERSION }} --no-git-tag-version --workspaces-update=false
4545

4646
- name: Install NPM dependencies
4747
run: yarn install --immutable
48-
48+
4949
- name: Update version.ts file
5050
run: yarn prebuild
5151

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @coinbase/coinbase-wallet-sdk
1+
* @MobileWalletProtocol/react-native-client

LICENSE

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
1-
Copyright 2024 Coinbase, Inc.
1+
Copyright (c) 2024 Coinbase, Inc.
22

3-
Permission is hereby granted, free of charge, to any person obtaining a copy of
4-
this software and associated documentation files (the “Software”), to deal in the
5-
Software without restriction, including without limitation the rights to use, copy,
6-
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
7-
and to permit persons to whom the Software is furnished to do so, subject to the
8-
following conditions:
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
96

10-
The above copyright notice and this permission notice shall be included in all
11-
copies or substantial portions of the Software.
7+
http://www.apache.org/licenses/LICENSE-2.0
128

13-
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
14-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
15-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
16-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
17-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20-
OTHER DEALINGS IN THE SOFTWARE.
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

0 commit comments

Comments
 (0)