tauri-plugin-nostr-native 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +105 -0
  3. package/dist-js/index.cjs +61 -0
  4. package/dist-js/index.d.ts +13 -0
  5. package/dist-js/index.js +52 -0
  6. package/package.json +38 -0
  7. package/permissions/autogenerated/commands/blossom_get_blob.toml +13 -0
  8. package/permissions/autogenerated/commands/blossom_mirror.toml +13 -0
  9. package/permissions/autogenerated/commands/blossom_upload.toml +13 -0
  10. package/permissions/autogenerated/commands/blossom_upload_content.toml +13 -0
  11. package/permissions/autogenerated/commands/create_discovery_event.toml +13 -0
  12. package/permissions/autogenerated/commands/decrypt_discovery_event.toml +13 -0
  13. package/permissions/autogenerated/commands/decrypt_pns_event.toml +13 -0
  14. package/permissions/autogenerated/commands/delete_calendar.toml +13 -0
  15. package/permissions/autogenerated/commands/delete_calendar_event.toml +13 -0
  16. package/permissions/autogenerated/commands/delete_chat_messages.toml +13 -0
  17. package/permissions/autogenerated/commands/derive_pns_keys.toml +13 -0
  18. package/permissions/autogenerated/commands/fetch_bookmarks.toml +13 -0
  19. package/permissions/autogenerated/commands/fetch_calendar_events.toml +13 -0
  20. package/permissions/autogenerated/commands/fetch_calendars.toml +13 -0
  21. package/permissions/autogenerated/commands/fetch_contact_list.toml +13 -0
  22. package/permissions/autogenerated/commands/fetch_discovery_events.toml +13 -0
  23. package/permissions/autogenerated/commands/fetch_event_details.toml +13 -0
  24. package/permissions/autogenerated/commands/fetch_pns_events.toml +13 -0
  25. package/permissions/autogenerated/commands/fetch_profiles.toml +13 -0
  26. package/permissions/autogenerated/commands/fetch_received_rsvps.toml +13 -0
  27. package/permissions/autogenerated/commands/fetch_rsvps.toml +13 -0
  28. package/permissions/autogenerated/commands/fetch_user_rsvps.toml +13 -0
  29. package/permissions/autogenerated/commands/generate_new_nsec.toml +13 -0
  30. package/permissions/autogenerated/commands/parse_pubkey.toml +13 -0
  31. package/permissions/autogenerated/commands/publish_batch_calendar_events.toml +13 -0
  32. package/permissions/autogenerated/commands/publish_calendar.toml +13 -0
  33. package/permissions/autogenerated/commands/publish_calendar_event.toml +13 -0
  34. package/permissions/autogenerated/commands/publish_chat_message.toml +13 -0
  35. package/permissions/autogenerated/commands/publish_rsvp.toml +13 -0
  36. package/permissions/autogenerated/commands/remove_bookmark.toml +13 -0
  37. package/permissions/autogenerated/commands/save_bookmark.toml +13 -0
  38. package/permissions/autogenerated/commands/send_direct_message.toml +13 -0
  39. package/permissions/autogenerated/commands/update_contact_list.toml +13 -0
  40. package/permissions/autogenerated/commands/verify_nsec.toml +13 -0
  41. package/permissions/autogenerated/reference.md +934 -0
  42. package/permissions/default.toml +38 -0
  43. package/permissions/schemas/schema.json +714 -0
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-publish-calendar"
7
+ description = "Enables the publish_calendar command without any pre-configured scope."
8
+ commands.allow = ["publish_calendar"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-publish-calendar"
12
+ description = "Denies the publish_calendar command without any pre-configured scope."
13
+ commands.deny = ["publish_calendar"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-publish-calendar-event"
7
+ description = "Enables the publish_calendar_event command without any pre-configured scope."
8
+ commands.allow = ["publish_calendar_event"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-publish-calendar-event"
12
+ description = "Denies the publish_calendar_event command without any pre-configured scope."
13
+ commands.deny = ["publish_calendar_event"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-publish-chat-message"
7
+ description = "Enables the publish_chat_message command without any pre-configured scope."
8
+ commands.allow = ["publish_chat_message"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-publish-chat-message"
12
+ description = "Denies the publish_chat_message command without any pre-configured scope."
13
+ commands.deny = ["publish_chat_message"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-publish-rsvp"
7
+ description = "Enables the publish_rsvp command without any pre-configured scope."
8
+ commands.allow = ["publish_rsvp"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-publish-rsvp"
12
+ description = "Denies the publish_rsvp command without any pre-configured scope."
13
+ commands.deny = ["publish_rsvp"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-remove-bookmark"
7
+ description = "Enables the remove_bookmark command without any pre-configured scope."
8
+ commands.allow = ["remove_bookmark"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-remove-bookmark"
12
+ description = "Denies the remove_bookmark command without any pre-configured scope."
13
+ commands.deny = ["remove_bookmark"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-save-bookmark"
7
+ description = "Enables the save_bookmark command without any pre-configured scope."
8
+ commands.allow = ["save_bookmark"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-save-bookmark"
12
+ description = "Denies the save_bookmark command without any pre-configured scope."
13
+ commands.deny = ["save_bookmark"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-send-direct-message"
7
+ description = "Enables the send_direct_message command without any pre-configured scope."
8
+ commands.allow = ["send_direct_message"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-send-direct-message"
12
+ description = "Denies the send_direct_message command without any pre-configured scope."
13
+ commands.deny = ["send_direct_message"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-update-contact-list"
7
+ description = "Enables the update_contact_list command without any pre-configured scope."
8
+ commands.allow = ["update_contact_list"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-update-contact-list"
12
+ description = "Denies the update_contact_list command without any pre-configured scope."
13
+ commands.deny = ["update_contact_list"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-verify-nsec"
7
+ description = "Enables the verify_nsec command without any pre-configured scope."
8
+ commands.allow = ["verify_nsec"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-verify-nsec"
12
+ description = "Denies the verify_nsec command without any pre-configured scope."
13
+ commands.deny = ["verify_nsec"]