fix: invoke is in primitives now#7
Merged
goenning merged 1 commit intoaptabase:v2from Nov 3, 2023
Merged
Conversation
Member
|
Thanks! I think I could release an alpha version of the npm package 🤔 I’ll be doing some work on this repo soon and merge/release this :) |
Member
|
Hey @nwesterhausen I git un-ignored the dist folder so you install the package directly from GitHub for now :) |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Tauri v2 put
invokeunderprimitivesrecently. So if you are tracking other plugins with branchv2and also keeping Tauri v2 alpha up-to-date, this broke the client side of the plugin.As it is currently, running this client-side in a Tauri app gives you this error:
This PR fixes that issue, and I was able to verify the fix locally.
What I'm not sure about is how you will go about publishing it :)
To test locally, I had to dive into my node_modules and build the module since all that's in the repo is source code.