Skip to content

Commit

Permalink
chore: remove relay chats, move all examples to experimental, add not…
Browse files Browse the repository at this point in the history
…es example
  • Loading branch information
adklempner committed Apr 22, 2024
1 parent 040d381 commit 67da25d
Show file tree
Hide file tree
Showing 163 changed files with 7,122 additions and 66,118 deletions.
19 changes: 9 additions & 10 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,20 @@ pipeline {

stage('Examples') {
parallel {
stage('relay-angular-chat') { steps { script { buildExample() } } }
stage('relay-reactjs-chat') { steps { script { buildExample() } } }
stage('web-chat') { steps { script { buildExample() } } }
stage('noise-js') { steps { script { buildExample() } } }
stage('noise-rtc') { steps { script { buildExample() } } }
stage('relay-direct-rtc') { steps { script { buildExample() } } }
stage('rln-js') { steps { script { buildExample() } } }
stage('rln-identity') { steps { script { buildExample() } } }
stage('experimental/web-chat') { steps { script { buildExample() } } }
stage('experimental/noise-js') { steps { script { buildExample() } } }
stage('experimental/noise-rtc') { steps { script { buildExample() } } }
stage('experimental/relay-direct-rtc') { steps { script { buildExample() } } }
stage('experimental/rln-js') { steps { script { buildExample() } } }
stage('experimental/rln-identity') { steps { script { buildExample() } } }
stage('flush-notes') { steps { script { buildExample() } } }
}
}

stage('HTML Examples') {
parallel {
stage('relay-js') { steps { script { copyExample() } } }
stage('light-js') { steps { script { copyExample() } } }
stage('experimental/relay-js') { steps { script { copyExample() } } }
stage('experimental/light-js') { steps { script { copyExample() } } }
}
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 16 additions & 4 deletions examples/web-chat/.gitignore → examples/flush-notes/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,28 @@
# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
16 changes: 16 additions & 0 deletions examples/flush-notes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Waku dependencies
- @waku/interfaces
- @waku/message-encryption
- @waku/sdk
- @waku/utils

## Description
Exchange encrypted or plain notes by link.
This example shows how symmetric encryption can be used to encrypt only part of Waku message.

## How to run
```bash
npm start
# or
yarn start
```
14 changes: 14 additions & 0 deletions examples/flush-notes/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
async rewrites() {
return [
{
source: "/view/:path*",
destination: "/view",
},
];
},
};

module.exports = nextConfig;
Loading

0 comments on commit 67da25d

Please sign in to comment.