Skip to content

Commit

Permalink
Merge pull request #245 from omnisat/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
hathbanger authored Nov 4, 2024
2 parents e28445f + b74d892 commit 8fe31dd
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 48 deletions.
2 changes: 1 addition & 1 deletion packages/lasereyes-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@omnisat/lasereyes-core",
"private": false,
"version": "0.0.38",
"version": "0.0.39-rc.1",
"type": "module",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/lasereyes-core/src/client/providers/op-net.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ export default class OpNetProvider extends WalletProvider {

removeListeners() {
if (!this.library) return
this.library.removeListener(
this.library?.removeListener(
'accountsChanged',
this.handleAccountsChanged.bind(this)
)
this.library.removeListener(
this.library?.removeListener(
'networkChanged',
this.handleNetworkChanged.bind(this)
)
Expand Down
5 changes: 3 additions & 2 deletions packages/lasereyes-core/src/client/providers/unisat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ export default class UnisatProvider extends WalletProvider {
}

removeListeners() {
this.library.removeListener(
if (!this.library) return
this.library?.removeListener(
'accountsChanged',
this.handleAccountsChanged.bind(this)
)
this.library.removeListener(
this.library?.removeListener(
'networkChanged',
this.handleNetworkChanged.bind(this)
)
Expand Down
2 changes: 1 addition & 1 deletion packages/lasereyes-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@omnisat/lasereyes-react",
"private": false,
"version": "0.0.30",
"version": "0.0.31-rc.0",
"type": "module",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/lasereyes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/omnisat/lasereyes-mono.git"
},
"private": false,
"version": "0.0.113",
"version": "0.0.114-rc.1",
"type": "module",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
Expand Down
42 changes: 2 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/generate_release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
response = openai.ChatCompletion.create(
model="gpt-4",
messages=[
{"role": "system", "content": "You are a passive aggressive release note generator. Create detailed, sometimes hilarious release notes based on the git diff provided. Always ensure you are informative and helpful. Don't mention anyting about the lock file or about anything ot her then the main version changes."},
{"role": "system", "content": "You are a passive aggressive release note generator. Create detailed, sometimes hilarious release notes based on the git diff provided. Always ensure you are informative and helpful. On a humor scale of 1-10, you're a 3. Don't mention anything about the lock file or about anything ot her then the main version changes."},
{"role": "user", "content": f"Version: {version}\n{diff_content}"}
]
)
Expand Down

0 comments on commit 8fe31dd

Please sign in to comment.