- 
                Notifications
    You must be signed in to change notification settings 
- Fork 9
feat: Add Single Invoice Web Component #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            MantisClone
  merged 25 commits into
  main
from
151-invoice-page---a-web-component-to-view-and-pay-a-single-request---for-use-in-request-invoicing-app
  
      
      
   
  Jan 20, 2025 
      
    
  
     Merged
                    Changes from 10 commits
      Commits
    
    
            Show all changes
          
          
            25 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      33c8d31
              
                feat: added single-invoice web component
              
              
                sstefdev edbc904
              
                Merge branch 'main' of github.com:RequestNetwork/web-components into …
              
              
                sstefdev bafa730
              
                Merge branch 'main' of github.com:RequestNetwork/web-components into …
              
              
                sstefdev d6894bf
              
                Merge branch 'main' of github.com:RequestNetwork/web-components into …
              
              
                sstefdev fc6def0
              
                Merge branch 'main' of github.com:RequestNetwork/web-components into …
              
              
                sstefdev d3a2a49
              
                feat: updated and cleaned single invoice component, removed unused va…
              
              
                sstefdev 5d71ab1
              
                fix: updated gitignore, added loading skeleton, resolved comments
              
              
                sstefdev f1a0703
              
                Merge branch 'main' of github.com:RequestNetwork/web-components into …
              
              
                sstefdev 317fc67
              
                fix: decoupling utils, using new token list
              
              
                sstefdev 0723463
              
                Update README to include @requestnetwork/single-invoice in link cmds
              
              
                MantisClone a1ab494
              
                add single-invoice to the publish github action
              
              
                MantisClone 397c437
              
                Add single-invoice to the README
              
              
                MantisClone 0998eab
              
                fix: added single-invoice share and path prop
              
              
                sstefdev 38c20d9
              
                Merge branch 'main' of github.com:RequestNetwork/web-components into …
              
              
                sstefdev 6d71f05
              
                Merge branch '151-invoice-page---a-web-component-to-view-and-pay-a-si…
              
              
                sstefdev f17559d
              
                chore: decouple utils folder
              
              
                sstefdev 4f04b6f
              
                fix: add check for no address in formatAddress function
              
              
                sstefdev 90b56ff
              
                fix: payment error and decimal issue on dashboard
              
              
                sstefdev 4872241
              
                feat: added encryption
              
              
                sstefdev 4cb5573
              
                chore: add readme
              
              
                sstefdev ada0771
              
                fix: remove debug comments
              
              
                sstefdev ca8c8e2
              
                chore: add token list to the readme
              
              
                sstefdev a2efcb2
              
                fix: remove decryption for non encrypted requests, whenchanging the w…
              
              
                sstefdev 21b3c3d
              
                fix: share svg viewbox
              
              
                sstefdev 547f2ad
              
                chore: update create invoice form declaration file
              
              
                sstefdev File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -5,3 +5,4 @@ node_modules | |
| .turbo | ||
| dist | ||
| .svelte-kit | ||
| vite.congig.ts.timestamp* | ||
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
      
      Oops, something went wrong.
      
    
  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| { | ||
| "name": "@requestnetwork/single-invoice", | ||
| "version": "0.1.0", | ||
| "main": "./dist/web-component.umd.cjs", | ||
| "scripts": { | ||
| "dev": "vite dev", | ||
| "build": "npm run package", | ||
| "build:wc": "vite build -c vite.wc.config.ts", | ||
| "preview": "vite preview", | ||
| "package": "svelte-kit sync && svelte-package && npm run build:wc && publint", | ||
| "prepublishOnly": "npm run package", | ||
| "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
| "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
| "clean": "rm -rf dist && rm -rf .svelte-kit", | ||
| "check-release-type": "bash ../../scripts/check-release-type.sh", | ||
| "publish-next-release": "bash ../../scripts/publish-next-release.sh" | ||
| }, | ||
| "exports": { | ||
| ".": { | ||
| "types": "./dist/index.d.ts", | ||
| "svelte": "./dist/index.js", | ||
| "require": "./dist/web-component.umd.cjs", | ||
| "default": "./dist/web-component.js" | ||
| }, | ||
| "./react": { | ||
| "types": "./dist/react/SingleInvoice.d.ts", | ||
| "default": "./dist/react/SingleInvoice.jsx" | ||
| } | ||
| }, | ||
| "files": [ | ||
| "dist", | ||
| "!dist/**/*.test.*", | ||
| "!dist/**/*.spec.*" | ||
| ], | ||
| "dependencies": { | ||
| "@requestnetwork/payment-detection": "0.49.0", | ||
| "@requestnetwork/payment-processor": "0.52.0", | ||
| "@requestnetwork/request-client.js": "0.54.0", | ||
| "@wagmi/core": "^2.15.2", | ||
| "ethers": "^5.7.2", | ||
| "viem": "^2.21.53", | ||
| "wagmi": "^2.13.3" | ||
| }, | ||
| "peerDependencies": { | ||
| "react": "^16.8.0 || ^17.0.0 || ^18.0.0", | ||
| "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@sveltejs/adapter-auto": "^2.0.0", | ||
| "@sveltejs/kit": "^1.27.4", | ||
| "@sveltejs/package": "^2.0.0", | ||
| "@sveltejs/vite-plugin-svelte": "^2.5.2", | ||
| "publint": "^0.1.9", | ||
| "svelte": "^4.0.5", | ||
| "react": "^18.3.1", | ||
| "react-dom": "^18.3.1", | ||
| "svelte-check": "^3.6.0", | ||
| "typescript": "^5.0.0", | ||
| "vite": "^4.4.2" | ||
| }, | ||
| "type": "module", | ||
| "license": "MIT", | ||
| "publishConfig": { | ||
| "access": "public" | ||
| } | ||
| } | ||
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export { default as SingleInvoice } from "./single-invoice.svelte"; | 
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.